class
ActiveRecord::Rollback
v2.0.3 -
Show latest stable
- Superclass: 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.
Files
- activerecord/lib/active_record/base.rb