class Her::RecordNotFound

Public Class Methods

one(model, id) click to toggle source
# File lib/her/exceptions/record_not_found.rb, line 4
def one(model, id)
  new("Couldn't find #{model.name} with id=#{id}")
end
some(model, ids, found, looking_for) click to toggle source
Calls superclass method
# File lib/her/exceptions/record_not_found.rb, line 8
def some(model, ids, found, looking_for)
  super("Couldn't find all #{model.name}s with IDs (#{ids.join(', ')}) (found #{found} results, but was looking for #{looking_for})")
end