Skip to content

ActiveSupport::Cache::MonetaStore: Rails 6 support - Implement/advertise cache versioning support #186

@jimcavoli

Description

@jimcavoli

Introduced by rails/rails#33932 for Rails 6, without implementing a .supports_cache_versioning? on ActiveSupport::Cache::MonetaStore, the application will raise an exception encouraging the user to change adapters entirely or alternatively disable recyclable cache keys (see rails/rails#29092).

The only notable change is that the passed ActiveSupport::Cache::Entry includes a version attribute (readable) that contains the version part of the cache key so that cache keys remain the same for particular entries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions