File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
activerecord/lib/active_record Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,9 @@ module Transactions
99
99
# be propagated (after triggering the ROLLBACK), so you should be ready to
100
100
# catch those in your application code.
101
101
#
102
- # One exception is the ActiveRecord::Rollback exception, which will trigger
103
- # a ROLLBACK when raised, but not be re-raised by the transaction block.
102
+ # One exception is the {ActiveRecord::Rollback}[rdoc-ref:Rollback] exception, which will trigger
103
+ # a ROLLBACK when raised, but not be re-raised by the transaction block. Any
104
+ # other exception will be re-raised.
104
105
#
105
106
# *Warning*: one should not catch ActiveRecord::StatementInvalid exceptions
106
107
# inside a transaction block. ActiveRecord::StatementInvalid exceptions indicate that an
You can’t perform that action at this time.
0 commit comments