add_exception_raising_after_save_callback_to_topic() Ver: 1.0.0
From: TransactionTest Version 1.0.0
Comments

Sourcecode
# File src/rails-1.0.0/activerecord/test/transactions_test.rb, line 209
    def add_exception_raising_after_save_callback_to_topic
      Topic.class_eval { def after_save() raise "Make the transaction rollback" end }
    end
Add New Note User Added Notes