Permalink
Browse files

Initial doc for TransactionIsolationError [ci skip]

  • Loading branch information...
Gaurav2728 committed May 28, 2014
1 parent bdbf00d commit b1db6154b5bce3872b91459337d1cf5bc57c43e4
Showing with 3 additions and 0 deletions.
  1. +3 −0 activerecord/lib/active_record/errors.rb
@@ -217,6 +217,9 @@ def initialize(model)
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

0 comments on commit b1db615

Please sign in to comment.