method
collection?
v2.3.8 -
Show latest stable
- Class:
ActiveRecord::Reflection::AssociationReflection
collection?()public
Returns whether or not this association reflection is for a collection association. Returns true if the macro is one of has_many or has_and_belongs_to_many, false otherwise.