From b1db6154b5bce3872b91459337d1cf5bc57c43e4 Mon Sep 17 00:00:00 2001 From: Gaurav Sharma Date: Wed, 28 May 2014 18:33:07 +0530 Subject: Initial doc for TransactionIsolationError [ci skip] --- activerecord/lib/active_record/errors.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'activerecord/lib/active_record') diff --git a/activerecord/lib/active_record/errors.rb b/activerecord/lib/active_record/errors.rb index 71efbb8f93..e9364aeeef 100644 --- a/activerecord/lib/active_record/errors.rb +++ b/activerecord/lib/active_record/errors.rb @@ -217,6 +217,9 @@ module ActiveRecord class ImmutableRelation < ActiveRecordError end + # TransactionIsolationError will be raised if: The adapter does not support setting the isolation level; + # You are joining an existing open transaction; You are creating a nested (savepoint) transaction; The mysql, + # mysql2 and postgresql adapters support setting the transaction isolation level. class TransactionIsolationError < ActiveRecordError end end -- cgit v1.2.3