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