Skip to content

Conversation

@yourivdlans
Copy link
Contributor

Hi! Administrate has been updated to v0.16 and it includes a change to the app/views/admin/application/index.html.erb. Without it I was receiving an ArgumentError => "Please use symbols for polymorphic route arguments".

See: thoughtbot/administrate#1972

@andreibondarev
Copy link
Member

andreibondarev commented May 7, 2021

@yourivdlans Is this change backwards compatible with previous administrate versions or do we need to lock the version to administrate >= 0.16? Thank you for issuing a PR for this!

@yourivdlans
Copy link
Contributor Author

@andreibondarev I believe it is backwards compatible as we're simply calling .to_sym on a string. Nonetheless I've installed administrate 0.15 and it seems to still be working.

Thanks for the quick reply!

@andreibondarev andreibondarev merged commit eaca6f4 into SourceLabsLLC:master May 7, 2021
@yourivdlans yourivdlans deleted the patch-1 branch May 8, 2021 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants