I\'m trying to use redis-store as my Rails 3 cache_store. I also have an initializer/app_config.rb which loads a yaml file for config settings. In my initializer/redis.rb I
I tried the following and it works out.
MyApp::Application.config.cache_store = :redis_store self.class.send :remove_const, :RAILS_CACHE if self.class.const_defined? :RAILS_CACHE RAILS_CACHE = ActiveSupport::Cache.lookup_store(MyApp::Application.config.cache_store)