instance method
serialize_entry
Ruby on Rails 8.0.4
Since v7.0.10 PrivateSignature
serialize_entry(entry, raw: false, **options)
No documentation comment.
Parameters
-
entryreq -
rawkey = false -
optionskeyrest
Source
# File activesupport/lib/active_support/cache/mem_cache_store.rb, line 240
def serialize_entry(entry, raw: false, **options)
if raw
entry.value.to_s
else
super(entry, raw: raw, **options)
end
end
Defined in activesupport/lib/active_support/cache/mem_cache_store.rb line 240
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::MemCacheStore