method
new
v3.2.13 -
Show latest stable
- Class:
ActiveRecord::InverseOfAssociationNotFoundError
new(reflection, associated_class = nil)public
No documentation available.
# File activerecord/lib/active_record/associations.rb, line 11
def initialize(reflection, associated_class = nil)
super("Could not find the inverse association for #{reflection.name} (#{reflection.options[:inverse_of].inspect} in #{associated_class.nil? ? reflection.class_name : associated_class.name})")
end