Exception: NQL::InvalidModelError

Inherits:
Error
  • Object
show all
Defined in:
lib/nql/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(model) ⇒ InvalidModelError

Returns a new instance of InvalidModelError.



15
16
17
# File 'lib/nql/error.rb', line 15

def initialize(model)
  super "#{model} must be subclass of ActiveRecord::Base"
end