This project is archived and is in readonly mode.
ActiveRecord::Base.touch won't dump optimistic locking column.
-
jlewalle (at gmail)
I'll hold off on attempting to fix this on my own until I've got some feedback.
-
Neeraj Singh
- Assigned user set to José Valim
- Importance changed from to Low
Let's see what Mr. Valim has to say on this one.
-
José Valim
Optimistic locking should be updated! Probably just adding it as after_touch callback should fix it!
-
Cesario
- Tag changed from activerecord locking touch to activerecord locking touch, 3.0, patch
LH doesnt like me (or at least having me attach a patch :)) : https://github.com/rails/rails/pull/119
Patch and tests are provided again master. -
Repository
- State changed from new to resolved
(from [9d8fdfec38a145e3f5074fd8dc0216630c268e32]) removed some duplication from LH issue 5505 regarding AR touch and optimistic locking [#5505 ActiveRecord::Base.touch won't dump optimistic locking column. state:resolved]
Signed-off-by: Santiago Pastorino and José Ignacio Costa santiago+jose@wyeworks.com
https://github.com/rails/rails/commit/9d8fdfec38a145e3f5074fd8dc021...