method

any?

Importance_1
v5.0.0.1 - Show latest stable - 0 notes - Class: CollectionAssociation
any?() public

Returns true if the collections is not empty. If block given, loads all records and checks for one or more matches. Otherwise, equivalent to +!collection.empty?+.

Show source
Register or log in to add new notes.