Exception: BabySqueel::NotFoundError

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(model_name, name) ⇒ NotFoundError

Returns a new instance of NotFoundError.



3
4
5
# File 'lib/baby_squeel/errors.rb', line 3

def initialize(model_name, name)
  super "There is no column or association named '#{name}' for #{model_name}."
end