method
many?
v4.2.1 -
Show latest stable
- Class:
ActiveRecord::Associations::CollectionAssociation
many?()public
Returns true if the collection has more than 1 record. Equivalent to +collection.size > 1+.
many?()Returns true if the collection has more than 1 record. Equivalent to +collection.size > 1+.