instance method
find_with_associations
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v4.2.9Signature
find_with_associations()
No documentation comment.
Source
# File activerecord/lib/active_record/relation/finder_methods.rb, line 192
def find_with_associations
join_dependency = construct_join_dependency_for_association_find
rows = construct_relation_for_association_find(join_dependency).to_a
join_dependency.instantiate(rows)
rescue ThrowResult
[]
end
Defined in activerecord/lib/active_record/relation/finder_methods.rb line 192
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::FinderMethods