method

inverse_association_for

Importance_0
v7.0.0 - 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 304
        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.