diff options
author | Rick Olson <technoweenie@gmail.com> | 2007-03-22 10:12:34 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2007-03-22 10:12:34 +0000 |
commit | c6d72608418989952dbb9a9b09d42c0eed74b9f1 (patch) | |
tree | 4f7a2c65121848142d02153a15a9e00a6fa0a776 /actionpack/CHANGELOG | |
parent | f39fe3091fe17b2f8b7836af78e033d1c939a832 (diff) | |
download | rails-c6d72608418989952dbb9a9b09d42c0eed74b9f1.tar.gz rails-c6d72608418989952dbb9a9b09d42c0eed74b9f1.tar.bz2 rails-c6d72608418989952dbb9a9b09d42c0eed74b9f1.zip |
Allow configuration of the default action cache path for #caches_action calls. [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r-- | actionpack/CHANGELOG | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index ecfebf7e67..d41d2dc550 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,14 @@ *SVN* +* Allow configuration of the default action cache path for #caches_action calls. [Rick Olson] + + class ListsController < ApplicationController + caches_action :index, :cache_path => Proc.new { |controller| + controller.params[:user_id] ? + controller.send(:user_lists_url, c.params[:user_id]) : + controller.send(:lists_url) } + end + * Performance: patch cgi/session/pstore to require digest/md5 once rather than per #initialize. #7583 [Stefan Kaes] * Cookie session store: ensure that new sessions doesn't reuse data from a deleted session in the same request. [Jeremy Kemper] |