Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

has_object: support plural Associated Object names #22

Merged
merged 1 commit into from
May 13, 2024

Conversation

kaspth
Copy link
Owner

@kaspth kaspth commented May 13, 2024

So Account.has_object :seats can look up Account::Seats, instead of erroneously looking for Account::Seat.

Plural Associated Object names were always meant to be supported, it was just an oversight on my part that classify singularizes.

cc @garrettdimon @natematykiewicz @julianrubisch

So `Account.has_object :seats` can look up `Account::Seats`, instead of erroneously looking for `Account::Seat`.

Plural Associated Object names were always meant to be supported, it was just an oversight on my part that `classify` singularizes.
@kaspth kaspth merged commit 7b37a65 into main May 13, 2024
2 checks passed
@kaspth kaspth deleted the plural-associated-object-names branch May 13, 2024 21:28
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.

None yet

1 participant