Displaying 1 result from an estimated 1 matches for "initla".
Did you mean:
inital
2011 Apr 27
3
Can't configure cach_store in an initializer
I''m trying to use redis-store as my cache_store. I also have an
app_confirg.rb initalizer which loads a yaml file for config settings.
In my redis.rb initializer I have:
MyApp::Application.config.cache_store = :redis_store,
APP_CONFIG[''redis'']
However, this doesn''t appear to work. If I do Rails.cache in my rails
console I can clearly see it''s using