method
update_attributes_from_transaction_state
update_attributes_from_transaction_state(transaction_state, depth)
private
Hide source
# File activerecord/lib/active_record/core.rb, line 399 def update_attributes_from_transaction_state(transaction_state, depth) if transaction_state && !has_transactional_callbacks? unless @reflects_state[depth] if transaction_state.committed? committed! elsif transaction_state.rolledback? rolledback! end @reflects_state[depth] = true end if transaction_state.parent && !@reflects_state[depth+1] update_attributes_from_transaction_state(transaction_state.parent, depth+1) end end end