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/test/unconnected_test.rb | |
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/test/unconnected_test.rb')
0 files changed, 0 insertions, 0 deletions