I am using memcache for caching in my rails app and currently I have a
dev and a production environment.
I would like to run the dev environment without caching so that I can
debug more easily but I wanna enable the caching in production
obviously. I am using github and capistrano for deployment.
Without doing a check at every statement where I can potentially dig
into the cache, is there any way of handling this more gracefully or
if env == 'dev' @post = Post.all else //get @post from cache en