Flowdock
method

make_inner_joins

Importance_0
v4.2.1 - 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 179
      def make_inner_joins(parent, child)
        tables    = child.tables
        join_type = Arel::Nodes::InnerJoin
        info      = make_constraints parent, child, tables, join_type

        [info] + child.children.flat_map { |c| make_inner_joins(child, c) }
      end
Register or log in to add new notes.