method

update_attributes_from_transaction_state

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - 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

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.