instance method find_with_associations

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v4.2.9

Available in: v3.0.20 v3.1.12 v3.2.22.5 v4.0.13 v4.1.16 v4.2.9

Signature

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

Type at least 2 characters to search.

↑↓ navigate · open · esc close