diff options
author | Gaurav Sharma <gaurav2728@gmail.com> | 2014-05-28 18:33:07 +0530 |
---|---|---|
committer | Gaurav Sharma <gaurav2728@gmail.com> | 2014-05-28 18:33:07 +0530 |
commit | b1db6154b5bce3872b91459337d1cf5bc57c43e4 (patch) | |
tree | 518955a86b6cc9c0e86f4e70bf79e8b1d226829b /activerecord | |
parent | bdbf00dc78869f91a8af4d56a19213faf2b8d9e5 (diff) | |
download | rails-b1db6154b5bce3872b91459337d1cf5bc57c43e4.tar.gz rails-b1db6154b5bce3872b91459337d1cf5bc57c43e4.tar.bz2 rails-b1db6154b5bce3872b91459337d1cf5bc57c43e4.zip |
Initial doc for TransactionIsolationError [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/errors.rb | 3 |
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 |