class ActiveRecord::ConnectionAdapters::TransactionState

def committed?

def committed?
  @state == :committed || @state == :fully_committed
end