Exception: BabySqueel::AssociationNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- BabySqueel::AssociationNotFoundError
- Defined in:
- lib/baby_squeel/errors.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(model_name, name) ⇒ AssociationNotFoundError
constructor
A new instance of AssociationNotFoundError.
Constructor Details
#initialize(model_name, name) ⇒ AssociationNotFoundError
Returns a new instance of AssociationNotFoundError.
20 21 22 |
# File 'lib/baby_squeel/errors.rb', line 20 def initialize(model_name, name) super "Association named '#{name}' was not found for #{model_name}." end |