instance method read_serialized_entry

Ruby on Rails 7.1.6

Since v7.0.10 Private

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

Signature

read_serialized_entry(key, raw: false, **options)

No documentation comment.

Parameters

key req
raw key = false
options keyrest
Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 120
          def read_serialized_entry(key, raw: false, **options)
            if cache = local_cache
              hit = true
              entry = cache.fetch_entry(key) do
                hit = false
                super
              end
              options[:event][:store] = cache.class.name if hit && options[:event]
              entry
            else
              super
            end
          end

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

Defined in ActiveSupport::Cache::Strategy::LocalCache

Type at least 2 characters to search.

↑↓ navigate · open · esc close