instance method
read_serialized_entry
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
read_serialized_entry(key, raw: false, **options)
No documentation comment.
Parameters
-
keyreq -
rawkey = false -
optionskeyrest
Source
# File activesupport/lib/active_support/cache/deprecated_redis_cache_store.rb, line 353
def read_serialized_entry(key, raw: false, **options)
failsafe :read_entry do
redis.then { |c| options[:delete] ? c.getdel(key) : c.get(key) }
end
end
Defined in activesupport/lib/active_support/cache/deprecated_redis_cache_store.rb line 353
· View on GitHub
· Improve this page
· Find usages on GitHub