Rails.cache throws "marshal dump" error when changed from memory store to memcached store
- by gsmendoza
If I set this in my environment
config.action_controller.cache_store = :mem_cache_store
ActionController::Base.cache_store will use a memcached store but Rails.cache will use a memory store instead:
$ ./script/console
>> ActionController::Base.cache_store
=> #<ActiveSupport::Cache::MemCacheStore:0xb6eb4bbc @data=<MemCache: 1…