From 5ff59704f68d284381606a1b76e4ffcfd73b2cfa Mon Sep 17 00:00:00 2001 From: Florent Guilleux Date: Sat, 1 Dec 2012 13:16:18 -0500 Subject: Add documentation to TransactionIsolationError [ci skip] --- activerecord/lib/active_record/errors.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activerecord') 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 -- cgit v1.2.3