method

update_attributes_from_transaction_state

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ActiveRecord::Transactions
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.