This project is archived and is in readonly mode.

Changeset [e02f0dcc24f871d8429229db4219ee1e93636496] 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...

Committed by Xavier Noria

  • M activerecord/CHANGELOG
  • M activerecord/lib/active_record/callbacks.rb
  • M activerecord/lib/active_record/transactions.rb
  • M activerecord/test/cases/transactions_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>