method
rolledback!
v4.0.2 -
Show latest stable
- Class:
ActiveRecord::Transactions
rolledback!(force_restore_state = false)public
Call the after_rollback callbacks. The force_restore_state argument indicates if the record state should be rolled back to the beginning or just to the last savepoint.