singular association name #2329
bol-stas-t
started this conversation in
General
Replies: 1 comment 4 replies
-
Add this before defining the association: Sequel.extension :inflector
String.inflections do |inflect|
inflect.singular /(bonus)es/i, '\1'
end |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why bonuse? How can I change this to bonus?
I thied
tried
singular
option for associationchatGPT failed to handle this issue
help please
Beta Was this translation helpful? Give feedback.
All reactions