Exception: ActiveRecord::Rollback

Inherits:
ActiveRecordError show all
Defined in:
lib/active_record/base.rb

Overview

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.