method
make_inner_joins
rails latest stable - Class:
ActiveRecord::Associations::JoinDependency
make_inner_joins(parent, child)private
No documentation available.
# File activerecord/lib/active_record/associations/join_dependency.rb, line 193
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