Sha256: 4a8eefe63c899ff0c4bd34adbea6b7a99de41f040cf4209353d77be0be4d328f
Contents?: true
Size: 322 Bytes
Versions: 2
Compression:
Stored size: 322 Bytes
Contents
module Findable class FindableError < StandardError; end class RecordNotFound < FindableError def initialize(model, params) params.symbolize_keys! if params.is_a?(Hash) super("Couldn't find #{model.model_name.name} with #{params.inspect}") end end class LockTimeout < FindableError; end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
findable-0.1.3 | lib/findable/errors.rb |
findable-0.1.2 | lib/findable/errors.rb |