rails_admin plural field names
-
30-10-2019 - |
Question
I'm using rails_admin in an app and I'm getting an unexpected error.
In a certain model, I have a field called *_status_id.
When trying to edit that model in rails_admin, I get this error:
undefined method `*_statu_id'
Obviously, rails_admin thinks my resource is plural, when it is not. Is there a way of letting Rails/rails_admin know how to use this resource properly?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow