method

make_outer_joins

rails latest stable - Class: ActiveRecord::Associations::JoinDependency

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

make_outer_joins(parent, child)
private

No documentation available.

# File activerecord/lib/active_record/associations/join_dependency.rb, line 177
        def make_outer_joins(parent, child)
          tables    = table_aliases_for(parent, child)
          join_type = Arel::Nodes::OuterJoin
          info      = make_constraints parent, child, tables, join_type

          [info] + child.children.flat_map { |c| make_outer_joins(child, c) }
        end