Exception: ActivePostgrest::RecordNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- ActivePostgrest::RecordNotFound
- Defined in:
- lib/active_postgrest/relation.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.
6 7 8 |
# File 'lib/active_postgrest/relation.rb', line 6 def initialize(model, id) super("#{model.name} not found: #{id.inspect}") end |