instance method serialize_entry

Ruby on Rails 7.1.6

Since v6.1.7.10 Private — implementation detail, not part of the public API

Available in: v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

serialize_entry(entry, **options)

No documentation comment.

Parameters

entry req
options keyrest
Source
# File activesupport/lib/active_support/cache.rb, line 812
        def serialize_entry(entry, **options)
          options = merged_options(options)
          if @coder_supports_compression && options[:compress]
            @coder.dump_compressed(entry, options[:compress_threshold])
          else
            @coder.dump(entry)
          end
        end

Defined in activesupport/lib/active_support/cache.rb line 812 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Cache::Store

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close