Exception: BabySqueel::AssociationNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/baby_squeel/errors.rb

Overview

:nodoc:

Instance Method Summary collapse

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