aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/transactions.rb
diff options
context:
space:
mode:
authorohbarye <over.rye@gmail.com>2017-08-11 23:24:34 +0900
committerohbarye <over.rye@gmail.com>2017-08-11 23:29:10 +0900
commitb99ef016fe098b6ffb7d7184c34943d63915d3f0 (patch)
treebddb0e710d496f302e412393753d7dde26ebe8b9 /activerecord/lib/active_record/transactions.rb
parent98298092093d733bed2a874e3d2c455fe45386a3 (diff)
downloadrails-b99ef016fe098b6ffb7d7184c34943d63915d3f0.tar.gz
rails-b99ef016fe098b6ffb7d7184c34943d63915d3f0.tar.bz2
rails-b99ef016fe098b6ffb7d7184c34943d63915d3f0.zip
Fix RDoc formatting: `+` doesn't work with `@`
refs: https://github.com/rails/rails/pull/30161 ``` $ echo "+@size+" | rdoc --pipe <p>+@size+</p> $ echo "<tt>@size</tt>" | rdoc --pipe <p><code>@size</code></p> ``` [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/transactions.rb')
-rw-r--r--activerecord/lib/active_record/transactions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/transactions.rb b/activerecord/lib/active_record/transactions.rb
index f91f0cdf12..b2f5e39e09 100644
--- a/activerecord/lib/active_record/transactions.rb
+++ b/activerecord/lib/active_record/transactions.rb
@@ -472,7 +472,7 @@ module ActiveRecord
# if it's associated with a transaction, then the state of the Active Record
# object will be updated to reflect the current state of the transaction.
#
- # The +@transaction_state+ variable stores the states of the associated
+ # The <tt>@transaction_state</tt> variable stores the states of the associated
# transaction. This relies on the fact that a transaction can only be in
# one rollback or commit (otherwise a list of states would be required).
# Each Active Record object inside of a transaction carries that transaction's