Flowdock
method

make_inner_joins

Importance_0
v4.1.8 - Show latest stable - 0 notes - Class: JoinDependency
make_inner_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 172
      def make_inner_joins(parent, child)
        tables    = child.tables
        join_type = Arel::Nodes::InnerJoin
        joins     = make_constraints parent, child, tables, join_type

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