diff options
author | Jamis Buck <jamis@37signals.com> | 2007-02-07 16:10:40 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2007-02-07 16:10:40 +0000 |
commit | 83752373b9c83bf585b5fe44836c65612b680cf9 (patch) | |
tree | 0096d86743e56f8266daa280d4e364db734e3dab /activerecord/CHANGELOG | |
parent | f458b376c545d8eae5189d1ecc16245cafe7e796 (diff) | |
download | rails-83752373b9c83bf585b5fe44836c65612b680cf9.tar.gz rails-83752373b9c83bf585b5fe44836c65612b680cf9.tar.bz2 rails-83752373b9c83bf585b5fe44836c65612b680cf9.zip |
Made increment_counter/decrement_counter play nicely with optimistic locking, and added a more general update_counters method
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r-- | activerecord/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index ba42776c7f..ed1b83cdca 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Made increment_counter/decrement_counter play nicely with optimistic locking, and added a more general update_counters method [Jamis Buck] + * Reworked David's query cache to be available as Model.cache {...}. For the duration of the block no select query should be run more then once. Any inserts/deletes/executes will flush the whole cache however [Tobias Luetke] Task.cache { Task.find(1); Task.find(1) } #=> 1 query |