You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)?
The text was updated successfully, but these errors were encountered:
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
)?The text was updated successfully, but these errors were encountered: