method

read_serialized_entry

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ActiveSupport::Cache::Strategy::LocalCache
read_serialized_entry(key, raw: false, **options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 108
          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
Register or log in to add new notes.