method

inverse_association_for

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Association
inverse_association_for(record) 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/association.rb, line 251
        def inverse_association_for(record)
          if invertible_for?(record)
            record.association(inverse_reflection_for(record).name)
          end
        end
Register or log in to add new notes.