mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
25b47c25ba
Same bug as https://github.com/rails/rails/pull/42559, but a very different fix due to https://github.com/rails/rails/pull/42025. To recap, the issue: - While using the `dalli_store`, you set any value in the Rails cache with no expiry. - You change to the `mem_cache_store`. - You upgrade to Rails 7. - You try to read the same cache key you set in step 1, and it crashes on read. https://github.com/rails/rails/pull/42025 was backward compatible with entries written using the `mem_cache_store`, but *not* the `dalli_store` which did not use `ActiveSupport::Cache::Entry`. This PR attempts to fix that. |
||
---|---|---|
.. | ||
behaviors | ||
stores | ||
behaviors.rb | ||
cache_entry_test.rb | ||
cache_key_test.rb | ||
cache_store_logger_test.rb | ||
cache_store_namespace_test.rb | ||
cache_store_setting_test.rb | ||
coder_test.rb | ||
local_cache_middleware_test.rb |