method

set_target_and_inverse

set_target_and_inverse(join_part, association, record)
protected

No documentation available.

# File activerecord/lib/active_record/associations/join_dependency.rb, line 207
      def set_target_and_inverse(join_part, association, record)
        other = record.association(join_part.reflection.name)
        other.target = association
        other.set_inverse_instance(association)
      end