diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-25 21:31:44 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-25 21:31:44 +0000 |
commit | c4a31560bd686cbd16b4af20e764a9a0660cd170 (patch) | |
tree | 348ad796c4b80d0a227640bf135141c417f4dfbf /activerecord/CHANGELOG | |
parent | 38deb0ed83c54444e091d39382dcfe58e1c0bd05 (diff) | |
download | rails-c4a31560bd686cbd16b4af20e764a9a0660cd170.tar.gz rails-c4a31560bd686cbd16b4af20e764a9a0660cd170.tar.bz2 rails-c4a31560bd686cbd16b4af20e764a9a0660cd170.zip |
Optimistic locking: revert the lock version when an update fails. Closes #7840. Also return the number of affected rows instead of true.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6843 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 0bed07029b..a0a1addd62 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Optimistic locking: revert the lock version when an update fails. #7840 [plang] + * Migrations: add_column supports custom column types. #7742 [jsgarvin, Theory] * Load database adapters on demand. Eliminates config.connection_adapters and RAILS_CONNECTION_ADAPTERS. Add your lib directory to the $LOAD_PATH and put your custom adapter in lib/active_record/connection_adapters/adaptername_adapter.rb. This way you can provide custom adapters as plugins or gems without modifying Rails. [Jeremy Kemper] |