method

rolledback!

rails 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.