method

inverse_reflection_for

rails latest stable - Class: ActiveRecord::Associations::Association
inverse_reflection_for(record)
private

Can be redefined by subclasses, notably polymorphic belongs_to The record parameter is necessary to support polymorphic inverses as we must check for the association in the specific class of the record.