method
write_serialized_entry
rails latest stable - Class:
ActiveSupport::Cache::Strategy::LocalCache
write_serialized_entry(key, payload, **)private
No documentation available.
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 153
def write_serialized_entry(key, payload, **)
if return_value = super
local_cache.write_entry(key, payload) if local_cache
else
local_cache.delete_entry(key) if local_cache
end
return_value
end