This project is archived and is in readonly mode.

Changeset [da840d13da865331297d5287391231b1ed39721b] by Brian Durand

April 29th, 2010 @ 08:24 PM

Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction.

[#2991 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/da840d13da865331297d5287391231...

Committed by Brian Durand

  • A activerecord/test/cases/transaction_callbacks_test.rb
  • M activerecord/CHANGELOG
  • M activerecord/lib/active_record/connection_adapters/abstract/database_statements.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>