Exception: BabySqueel::AssociationNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- BabySqueel::AssociationNotFoundError
- Defined in:
- lib/baby_squeel/table.rb
Instance Method Summary collapse
-
#initialize(scope, name) ⇒ AssociationNotFoundError
constructor
A new instance of AssociationNotFoundError.
Constructor Details
#initialize(scope, name) ⇒ AssociationNotFoundError
Returns a new instance of AssociationNotFoundError.
5 6 7 |
# File 'lib/baby_squeel/table.rb', line 5 def initialize(scope, name) super "Association named '#{name}' was not found on #{scope.model_name}" end |