class

ActiveRecord::TransactionIsolationError

v8.0.0 - Show latest stable - Superclass: ActiveRecord::ActiveRecordError

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, trilogy, and postgresql adapters support setting the transaction isolation level.

Files

  • activerecord/lib/active_record/errors.rb