Exception: ActiveRecord::HasManyThroughAssociationNotFoundError
- Inherits:
-
ActiveRecordError
- Object
- StandardError
- ActiveRecordError
- ActiveRecord::HasManyThroughAssociationNotFoundError
- Defined in:
- activerecord/lib/active_record/associations.rb
Overview
:nodoc:
Instance Method Summary (collapse)
-
- (HasManyThroughAssociationNotFoundError) initialize(owner_class_name, reflection)
constructor
A new instance of HasManyThroughAssociationNotFoundError.
Constructor Details
- (HasManyThroughAssociationNotFoundError) initialize(owner_class_name, reflection)
A new instance of HasManyThroughAssociationNotFoundError
18 19 20 |
# File 'activerecord/lib/active_record/associations.rb', line 18 def initialize(owner_class_name, reflection) super("Could not find the association #{reflection.[:through].inspect} in model #{owner_class_name}") end |