Flowdock
method

set_target_and_inverse

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: JoinDependency

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

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.