Manually Clear Fragment Cache in Rails

后端 未结 4 1987
攒了一身酷
攒了一身酷 2021-02-07 00:53

I\'m using Memcached with Heroku for a Rails 3.1 app. I had a bug and the wrong things are showing - the parameters were incorrect for the cache.

I had this:

4条回答
  •  佛祖请我去吃肉
    2021-02-07 01:08

    I ended up manually clearing the entire cache by going into the rails console and using the command:

    Rails.cache.clear
    

提交回复
热议问题