1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Initial doc for TransactionIsolationError [ci skip]

This commit is contained in:
Gaurav Sharma 2014-05-28 18:33:07 +05:30
parent bdbf00dc78
commit b1db6154b5

View file

@ -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