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

Sourcecode
# File /Users/nshb/svn/svn.inimit.com/railsmanual.com/www/trunk/src/rails-2.0.0/activerecord/test/transactions_test.rb, line 183
    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