Skip to content

v2.0.0

Compare
Choose a tag to compare
@nickcampbell18 nickcampbell18 released this 29 Apr 08:51
· 142 commits to main since this release
  • BREAKING config.redis has been replaced with config.cache, replacing the
    direct Redis dependency with an instance of a ActiveSupport::Cache::Store. If you
    wish to keep using Redis, you should wrap it like so:
-config.redis = Redis.new
+config.cache = ActiveSupport::Cache::RedisCacheStore.new

Alternatively, you can also use Rails.cache to use a different backend:

-config.redis = Redis.new
+config.cache = Rails.cache