| Class | ActiveRecord::Rollback |
| In: |
vendor/rails/activerecord/lib/active_record/base.rb
|
| Parent: | ActiveRecordError |
Used by ActiveRecord 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.