method
find
v3.2.13 -
Show latest stable
- Class:
ActiveRecord::Associations::CollectionAssociation
find(*args)public
No documentation available.
# File activerecord/lib/active_record/associations/collection_association.rb, line 88
def find(*args)
if block_given?
load_target.find(*args) { |*block_args| yield(*block_args) }
else
if options[:finder_sql]
find_by_scan(*args)
else
scoped.find(*args)
end
end
end