aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/errors.rb
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-05-28 10:43:05 -0700
committerZachary Scott <e@zzak.io>2014-05-28 10:43:05 -0700
commitbfafd0dcec9114efca001838c1b4c59338edcf70 (patch)
treee57ab34a25232d9807ffd75abc1e17d1e0188072 /activerecord/lib/active_record/errors.rb
parentf3e14587a6385cf1419b1c665f2177264abc2e27 (diff)
downloadrails-bfafd0dcec9114efca001838c1b4c59338edcf70.tar.gz
rails-bfafd0dcec9114efca001838c1b4c59338edcf70.tar.bz2
rails-bfafd0dcec9114efca001838c1b4c59338edcf70.zip
Formatting of content from b1db615 [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/errors.rb')
-rw-r--r--activerecord/lib/active_record/errors.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/errors.rb b/activerecord/lib/active_record/errors.rb
index e9364aeeef..2ccb1b0702 100644
--- a/activerecord/lib/active_record/errors.rb
+++ b/activerecord/lib/active_record/errors.rb
@@ -217,9 +217,13 @@ 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.
+ # 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 mysql, mysql2 and postgresql adapters support setting the transaction isolation level.
class TransactionIsolationError < ActiveRecordError
end
end