method
find_with_associations
v3.1.0 -
Show latest stable
- Class:
ActiveRecord::FinderMethods
find_with_associations()protected
No documentation available.
# File activerecord/lib/active_record/relation/finder_methods.rb, line 202
def find_with_associations
join_dependency = construct_join_dependency_for_association_find
relation = construct_relation_for_association_find(join_dependency)
rows = connection.select_all(relation, 'SQL', relation.bind_values)
join_dependency.instantiate(rows)
rescue ThrowResult
[]
end