method

update_attributes_from_transaction_state

rails latest stable - Class: ActiveRecord::Transactions

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.2.3) is shown here.

update_attributes_from_transaction_state(transaction_state)
private

No documentation available.

# File activerecord/lib/active_record/transactions.rb, line 494
      def update_attributes_from_transaction_state(transaction_state)
        if transaction_state && transaction_state.finalized?
          restore_transaction_record_state(transaction_state.fully_rolledback?) if transaction_state.rolledback?
          force_clear_transaction_record_state if transaction_state.fully_committed?
          clear_transaction_record_state if transaction_state.fully_completed?
        end
      end