method

polymorphic_inverse_of

polymorphic_inverse_of(associated_class)
public

No documentation available.

# File activerecord/lib/active_record/reflection.rb, line 288
      def polymorphic_inverse_of(associated_class)
        if has_inverse?
          if inverse_relationship = associated_class.reflect_on_association(options[:inverse_of])
            inverse_relationship
          else
            raise InverseOfAssociationNotFoundError.new(self, associated_class)
          end
        end
      end