method

write_entry

rails latest stable - Class: ActiveSupport::Cache::MemCacheStore::LocalCacheWithRaw

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

write_entry(key, entry, **options)
private

No documentation available.

# File activesupport/lib/active_support/cache/mem_cache_store.rb, line 34
          def write_entry(key, entry, **options)
            if options[:raw] && local_cache
              raw_entry = Entry.new(entry.value.to_s)
              raw_entry.expires_at = entry.expires_at
              super(key, raw_entry, **options)
            else
              super
            end
          end