Flowdock
method

set_target_and_inverse

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: JoinDependency
set_target_and_inverse(join_part, association, record) protected

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 228
      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
Register or log in to add new notes.