aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/json/encoders/object.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-05-25 21:31:44 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-05-25 21:31:44 +0000
commitc4a31560bd686cbd16b4af20e764a9a0660cd170 (patch)
tree348ad796c4b80d0a227640bf135141c417f4dfbf /activesupport/lib/active_support/json/encoders/object.rb
parent38deb0ed83c54444e091d39382dcfe58e1c0bd05 (diff)
downloadrails-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 'activesupport/lib/active_support/json/encoders/object.rb')
0 files changed, 0 insertions, 0 deletions