class ActiveRecord::ConnectionAdapters::TransactionState

def fully_committed?

def fully_committed?
  @state == :fully_committed
end