Open davidwparker opened 9 years ago
Model name(Action) is a duplicate of action in the param.
This model name would be better to avoid.
For posterity: Still an issue. Renamed my modal away from Action
to resolve a no implicit conversion of Symbol into Integer
issue when trying to visit the admin form to make a new record.
I have a model named "Action".
When using RailsAdmin > "Actions" > create, it blows up with the error:
Stacktrace:
We're on RailsAdmin version 0.6.5.
(Link to 0.6.8, I don't think this changed since 0.6.5....) https://github.com/sferik/rails_admin/blob/master/lib/rails_admin/config/actions/new.rb#L26
I believe that it has to do with the model name "Action", as I changed it to "Aaction" and it works. Is there a way to change this to work with the name "Action"? Thanks!