class ActiveRecord::TransactionIsolationError

TransactionIsolationError will be raised under the following conditions:

The mysql, mysql2 and postgresql adapters support setting the transaction isolation level.