method
rolledback!
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::Transactions
rolledback!(force_restore_state: false, should_run_callbacks: true)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.