method
new
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::Associations::JoinDependency
new(base, table, associations, join_type)public
No documentation available.
# File activerecord/lib/active_record/associations/join_dependency.rb, line 71
def initialize(base, table, associations, join_type)
tree = self.class.make_tree associations
@join_root = JoinBase.new(base, table, build(tree, base))
@join_type = join_type
end