This project is archived and is in readonly mode.
Rails::Configuration default_cache_store not called
-
Karel Minařík
- Tag changed from activesupport, bug, railties to 2.1, activesupport, bug, railties
+1
I recently run into this issue, because Rails 2.1 kept storing my cache in memory, instead of tmp/cache and I had to debug extensively.
(I wanted to preserve cache content between deploys on a particular ActiveResource-based application. No need to flush precious cached content because of some minor change in CSS, better done with precision aim of Cap/Rake task).
-
josh
- State changed from new to resolved
Looks like this was added.
def initialize_cache unless defined?(RAILS_CACHE) silence_warnings { Object.const_set "RAILS_CACHE", ActiveSupport::Cache.lookup_store(configuration.cache_store) } end end