Exception: ViewModel::ActiveRecord::Cache::StaleCachedReference

Inherits:
StandardError
  • Object
show all
Defined in:
lib/view_model/active_record/cache.rb

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ StaleCachedReference

Returns a new instance of StaleCachedReference.



93
94
95
# File 'lib/view_model/active_record/cache.rb', line 93

def initialize(error)
  super("Cached value contained stale reference: #{error.message}")
end