Flowdock
method

make_constraints

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: JoinDependency
make_constraints(parent, child, tables, join_type) 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 169
      def make_constraints(parent, child, tables, join_type)
        chain         = child.reflection.chain
        foreign_table = parent.table
        foreign_klass = parent.base_klass
        child.join_constraints(foreign_table, foreign_klass, child, join_type, tables, child.reflection.scope_chain, chain)
      end
Register or log in to add new notes.