我正在使用以下内容缓存索引操作:
caches_action :index, :cache_path => Proc.new { |c| c.params } expire_action :action => :index
expire_action似乎只在没有任何参数的情况下使索引操作失效.如何使与索引相关的所有caches_action失效?
(这是一个Rails 2.3.5应用程序)
ruby caching ruby-on-rails
caching ×1
ruby ×1
ruby-on-rails ×1