Flowdock
method

update_attributes_from_transaction_state

Importance_0
v5.0.0.1 - 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 502
    def update_attributes_from_transaction_state(transaction_state)
      if transaction_state && transaction_state.finalized?
        restore_transaction_record_state if transaction_state.rolledback?
        clear_transaction_record_state
      end
    end
Register or log in to add new notes.