mattmanning/memcache-example — Issue #1: Question about local development and testing
Author: professor
Created: 2011-11-05 17:32:56+00:00
State: open

I have found your example code to be helpful.

I wanted to test it out locally before sending it onto a heroku server. config/environments/development.rb needs to have config.cache_store = :dalli_store, because ActiveSupport::Cache::FileStore doesn't have a stats method. I'm guessing that on a real code base, one wouldn't be accessing stats, so this issue wouldn't matter. I am curious on your own sites if you run memcached locally for development and testing, or just use it on a production environment.

Thank you for taking the time to create this example.