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