aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorFlorent Guilleux <florent2@gmail.com>2012-12-01 13:16:18 -0500
committerFlorent Guilleux <florent2@gmail.com>2012-12-01 13:17:36 -0500
commit5ff59704f68d284381606a1b76e4ffcfd73b2cfa (patch)
treed3c21858cb1a7fae8339b4542b200d59dc9ec815 /activerecord
parentcd026d7e8e6be66e0b73f4544d699294b81e08c6 (diff)
downloadrails-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.rb2
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