diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-13 08:31:32 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-13 08:31:32 +0000 |
commit | ebb7bd78351b7975f28fdcbadbbf0fe4804be2f2 (patch) | |
tree | 7be64a13212fce30d2ed351ed25d6ef3aeae9e59 /actionpack/CHANGELOG | |
parent | 48018bf4b5e5a2e173b4744abddc3e8cb590b4df (diff) | |
download | rails-ebb7bd78351b7975f28fdcbadbbf0fe4804be2f2.tar.gz rails-ebb7bd78351b7975f28fdcbadbbf0fe4804be2f2.tar.bz2 rails-ebb7bd78351b7975f28fdcbadbbf0fe4804be2f2.zip |
Added easy assignment of fragment cache store through use of symbols for included stores (old way still works too)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2230 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 a3cd28bf4b..4302a2c085 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,14 @@ *SVN* +* Added easy assignment of fragment cache store through use of symbols for included stores (old way still works too) + + Before: + ActionController::Base.fragment_cache_store = + ActionController::Base::Caching::Fragments::FileStore.new("/path/to/cache/directory") + + After: + ActionController::Base.fragment_cache_store = :file_store, "/path/to/cache/directory" + * Added ActionController::Base.session_store=, session_store, and session_options to make it easier to tweak the session options (instead of going straight to ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS) * Added TextHelper#cycle to cycle over an array of values on each hit (useful for alternating row colors etc) #2154 [dave-ml@dribin.org] |