aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorGaurav Sharma <gaurav2728@gmail.com>2014-05-28 18:33:07 +0530
committerGaurav Sharma <gaurav2728@gmail.com>2014-05-28 18:33:07 +0530
commitb1db6154b5bce3872b91459337d1cf5bc57c43e4 (patch)
tree518955a86b6cc9c0e86f4e70bf79e8b1d226829b /activerecord/lib/active_record
parentbdbf00dc78869f91a8af4d56a19213faf2b8d9e5 (diff)
downloadrails-b1db6154b5bce3872b91459337d1cf5bc57c43e4.tar.gz
rails-b1db6154b5bce3872b91459337d1cf5bc57c43e4.tar.bz2
rails-b1db6154b5bce3872b91459337d1cf5bc57c43e4.zip
Initial doc for TransactionIsolationError [ci skip]
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/errors.rb3
1 files changed, 3 insertions, 0 deletions
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