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.



9
10
11
# File 'lib/baby_squeel/errors.rb', line 9

def initialize(model_name, name)
  super "Association named '#{name}' was not found for #{model_name}."
end