method

rollback_active_record_state!

rollback_active_record_state!()
public

Reset id and @new_record if the transaction rolls back.