Flowdock
method

make_outer_joins

Importance_0
v4.1.8 - Show latest stable - 0 notes - Class: JoinDependency
make_outer_joins(parent, child) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

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

        joins.concat child.children.flat_map { |c| make_outer_joins(child, c) }
      end
Register or log in to add new notes.