diff options
author | Florent Guilleux <florent2@gmail.com> | 2012-12-01 13:16:18 -0500 |
---|---|---|
committer | Florent Guilleux <florent2@gmail.com> | 2012-12-01 13:17:36 -0500 |
commit | 5ff59704f68d284381606a1b76e4ffcfd73b2cfa (patch) | |
tree | d3c21858cb1a7fae8339b4542b200d59dc9ec815 /activerecord | |
parent | cd026d7e8e6be66e0b73f4544d699294b81e08c6 (diff) | |
download | rails-5ff59704f68d284381606a1b76e4ffcfd73b2cfa.tar.gz rails-5ff59704f68d284381606a1b76e4ffcfd73b2cfa.tar.bz2 rails-5ff59704f68d284381606a1b76e4ffcfd73b2cfa.zip |
Add documentation to TransactionIsolationError [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/errors.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/errors.rb b/activerecord/lib/active_record/errors.rb index c615d59725..52643828e4 100644 --- a/activerecord/lib/active_record/errors.rb +++ b/activerecord/lib/active_record/errors.rb @@ -207,6 +207,8 @@ module ActiveRecord class ImmutableRelation < ActiveRecordError end + # Raised in database transaction blocks in situations described + # in the DatabaseStatements#transaction documentation class TransactionIsolationError < ActiveRecordError end end |