class ActiveRecord::Associations::JoinDependency
def make_join_constraints(join_root, join_type)
def make_join_constraints(join_root, join_type) join_root.children.flat_map do |child| make_constraints(join_root, child, join_type) end end
def make_join_constraints(join_root, join_type) join_root.children.flat_map do |child| make_constraints(join_root, child, join_type) end end