Exception: ActivePostgrest::RecordNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- ActivePostgrest::RecordNotFound
- Defined in:
- lib/active_postgrest/errors.rb
Instance Method Summary collapse
-
#initialize(model, id) ⇒ RecordNotFound
constructor
A new instance of RecordNotFound.
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 |