Class | ActiveRecord::Rollback |
In: |
lib/active_record/base.rb
|
Parent: | ActiveRecordError |
Used by Active Record transaction mechanism to distinguish rollback from other exceptional situations. You can use it to roll your transaction back explicitly in the block passed to transaction method.