instance method construct_join_dependency

Ruby on Rails 5.1.7

Since v4.1.16 Last seen in v5.2.8.1 Private — implementation detail, not part of the public API

Available in: v4.1.16 v4.2.11.3 v5.0.7.2 v5.1.7 v5.2.8.1

Signature

construct_join_dependency(joins = [], eager_loading: true)

No documentation comment.

Parameters

joins opt = []
eager_loading key = true
Source
# File activerecord/lib/active_record/relation/finder_methods.rb, line 390
      def construct_join_dependency(joins = [], eager_loading: true)
        including = eager_load_values + includes_values
        ActiveRecord::Associations::JoinDependency.new(@klass, including, joins, eager_loading: eager_loading)
      end

Defined in activerecord/lib/active_record/relation/finder_methods.rb line 390 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::FinderMethods

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close