This project is archived and is in readonly mode.
Changeset [ce5af2fefe0e447669fa8b7031f07558bfc84f4a] by Curtis Hawthorne
April 28th, 2010 @ 05:52 AM
Destroy respects optimistic locking.
Now works with :dependent => :destroy and includes unit tests
for that
case. Also includes better error messages when updating/deleting
stale
objects.
[#1966 state:committed]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/ce5af2fefe0e447669fa8b7031f075...
Committed by Curtis Hawthorne
- M activerecord/CHANGELOG
- M activerecord/lib/active_record/associations.rb
- M activerecord/lib/active_record/locking/optimistic.rb
- M activerecord/test/cases/locking_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>