Flowdock
method

build_left_outer_joins

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
build_left_outer_joins(manager, outer_joins) 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/relation/query_methods.rb, line 1029
    def build_left_outer_joins(manager, outer_joins)
      buckets = outer_joins.group_by do |join|
        case join
        when Hash, Symbol, Array
          :association_join
        else
          raise ArgumentError, 'only Hash, Symbol and Array are allowed'
        end
      end

      build_join_query(manager, buckets, Arel::Nodes::OuterJoin)
    end
Register or log in to add new notes.