v2.0.0
- BREAKING
config.redis
has been replaced withconfig.cache
, replacing the
direct Redis dependency with an instance of aActiveSupport::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