• Jacob Vosmaer's avatar
    Move cache setup to config/application.rb · 185e7681
    Jacob Vosmaer authored
    Before this change we were trying to configure Rails.cache in an
    initializer. It seems that by the time the initializers are loaded,
    Rails.cache is already instantiated, so changing the settings does not
    achieve anything anymore. This was causing Rails to default to a file
    storage cache instead of the Redis cache, which in turn broke `rake
    cache:clear`.
    185e7681
application.rb 4.1 KB