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
posted @ 2014-07-03 10:41
Powered by:
博客园
Copyright © 2025 leonworld2011
Powered by .NET 9.0 on Kubernetes