class

ActiveRecord::NoDatabaseError::TransactionIsolationError

rails latest stable - Superclass: ActiveRecord::ActiveRecordError

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

TransactionIsolationError will be raised under the following conditions:

  • The adapter does not support setting the isolation level

  • You are joining an existing open transaction

  • You are creating a nested (savepoint) transaction

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

Files

  • activerecord/lib/active_record/errors.rb