diff options
author | Zachary Scott <e@zzak.io> | 2014-05-28 10:40:39 -0700 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-05-28 10:40:39 -0700 |
commit | f3e14587a6385cf1419b1c665f2177264abc2e27 (patch) | |
tree | 3b1574a445c083fe287719c1a04ac669460866f7 /activerecord | |
parent | 99873ca1ea98d73c73f8be60dfce0a54224f4ea8 (diff) | |
parent | b1db6154b5bce3872b91459337d1cf5bc57c43e4 (diff) | |
download | rails-f3e14587a6385cf1419b1c665f2177264abc2e27.tar.gz rails-f3e14587a6385cf1419b1c665f2177264abc2e27.tar.bz2 rails-f3e14587a6385cf1419b1c665f2177264abc2e27.zip |
Merge pull request #15380 from Gaurav2728/gaurav-transaction_isolation_error
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 |