grosser/test_after_commit — pull request #23 by rohanpm (2014-07-03 07:22:15+00:00)
Title: Fix rollbacks for exceptions other than ActiveRecord::Rollback, ActiveRecord::RecordInvalid

ActiveRecord will rollback transactions for _any_ kind of exception raised in a transaction block, not only these two.

Came across this because I could not get `after_rollback` to work correctly in an autotest.