method

restore_transaction_record_state

rails latest stable - Class: ActiveRecord::Transactions
restore_transaction_record_state(force_restore_state = false)
private

Restore the new record state and id of a record that was previously saved by a call to save_record_state.