method
any?
v3.2.13 -
Show latest stable
- Class:
ActiveRecord::Associations::CollectionAssociation
any?()public
No documentation available.
# File activerecord/lib/active_record/associations/collection_association.rb, line 283
def any?
if block_given?
load_target.any? { |*block_args| yield(*block_args) }
else
!empty?
end
end