method
write_entry
v5.2.3 -
Show latest stable
- Class:
ActiveSupport::Cache::RedisCacheStore::LocalCacheWithRaw
write_entry(key, entry, options)private
No documentation available.
# File activesupport/lib/active_support/cache/redis_cache_store.rb, line 81
def write_entry(key, entry, options)
if options[:raw] && local_cache
raw_entry = Entry.new(serialize_entry(entry, raw: true))
raw_entry.expires_at = entry.expires_at
super(key, raw_entry, options)
else
super
end
end