This project is archived and is in readonly mode.
Changeset [e02f0dcc24f871d8429229db4219ee1e93636496] by Xavier Noria
Revision e02f0dcc24f871d8429229db4219ee1e93636496,
committed by Xavier Noria
· August 24th, 2008 @ 01:34 PM
Rollback the transaction when a before_* callback returns false.
Previously this would have committed the transaction but not carried out save or destroy operation.
[#891 state:committed] Signed-off-by: Michael Koziarski michael@koziarski.com http://github.com/rails/rails/co...
4 changed files
-
M
activerecord/CHANGELOG -
M
activerecord/lib/active_record/callbacks.rb -
M
activerecord/lib/active_record/transactions.rb -
M
activerecord/test/cases/transactions_test.rb