Exception: ActivePostgrest::RecordNotFound

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

Instance Method Summary collapse

Constructor Details

#initialize(model, id) ⇒ RecordNotFound

Returns a new instance of RecordNotFound.



34
35
36
# File 'lib/active_postgrest/errors.rb', line 34

def initialize(model, id)
  super("#{model.name} not found: #{id.inspect}")
end