Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [da840d13da865331297d5287391231b1ed39721b] by Brian Durand

Revision da840d13da865331297d5287391231b1ed39721b, committed 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...

5 changed files

  • 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