method
any?
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::Associations::CollectionAssociation
any?()public
Returns true if the collections is not empty. Equivalent to +!collection.empty?+.
any?()Returns true if the collections is not empty. Equivalent to +!collection.empty?+.