method

write_entry

rails latest stable - Class: ActiveSupport::Cache::Strategy::LocalCache

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/strategy/local_cache.rb, line 158
          def write_entry(key, entry, **options)
            if options[:unless_exist]
              local_cache.delete_entry(key, **options) if local_cache
            else
              local_cache.write_entry(key, entry, **options) if local_cache
            end

            super
          end