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 APISignature
construct_join_dependency(joins = [], eager_loading: true)
No documentation comment.
Parameters
-
joinsopt = [] -
eager_loadingkey = 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