07 2014 档案

Rails.cahche
摘要:defself.top_tenRails.cache.fetch("top_ten_searches_cache",:expires_in=>1.day)doSearch.order("count DESC").limit(10).allendend 阅读全文

posted @ 2014-07-03 10:41 leonworld2011 阅读(96) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示