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

Alternate forms of predicate methods #2

Open
bruce opened this issue Dec 15, 2009 · 0 comments
Open

Alternate forms of predicate methods #2

bruce opened this issue Dec 15, 2009 · 0 comments
Labels

Comments

@bruce
Copy link
Owner

bruce commented Dec 15, 2009

The predicate methods that Nicolas Fouché provided use "#{attribute}_for_#{value}" -- for the examples in the tests, this works fine (medium_for_print). How do we support nice methods for an attribute that is pluralized (eg, roles)?

teeparham referenced this issue in teeparham/bitmask_attributes Mar 20, 2012
Accept value argument on without_attributes method
spemmons referenced this issue in numerex/bitmask_attributes Apr 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant