class

Ralph::RecordNotFound

Inherits Ralph::Error / Exception / Reference / Object

Raised when find! or first! returns no results

Example

User.find!(999) # => Ralph::RecordNotFound: User with id=999 not found

Constructors

new(model : String, id : String | Nil = nil, conditions : String | Nil = nil)
Source

Instance methods

conditions
Source
model
Source