method
read_serialized_entry
v7.2.3 -
Show latest stable
- Class:
ActiveSupport::Cache::Strategy::LocalCache
read_serialized_entry(key, raw: false, **options)private
No documentation available.
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 146
def read_serialized_entry(key, raw: false, **options)
if cache = local_cache
hit = true
entry = cache.fetch_entry(key) do
hit = false
super
end
options[:event][:store] = cache.class.name if hit && options[:event]
entry
else
super
end
end