在ruby script/console 
Rails.cache.delete "key" 
或者一句命令行:ruby script/runner "Rails.cache.delete 'key'" 

posted on 2011-08-26 14:21  yanmiao  阅读(542)  评论(0编辑  收藏  举报