From b99ef016fe098b6ffb7d7184c34943d63915d3f0 Mon Sep 17 00:00:00 2001 From: ohbarye Date: Fri, 11 Aug 2017 23:24:34 +0900 Subject: Fix RDoc formatting: `+` doesn't work with `@` refs: https://github.com/rails/rails/pull/30161 ``` $ echo "+@size+" | rdoc --pipe

+@size+

$ echo "@size" | rdoc --pipe

@size

``` [ci skip] --- activerecord/lib/active_record/transactions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib/active_record/transactions.rb') 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 @transaction_state 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 -- cgit v1.2.3