method
check_validity_of_inverse!
check_validity_of_inverse!()
public
Hide source
# File activerecord/lib/active_record/reflection.rb, line 334 def check_validity_of_inverse! unless polymorphic? if has_inverse? && inverse_of.nil? raise InverseOfAssociationNotFoundError.new(self) end end end