From c5b36a3e430530691bba7e0fd9f775e404f5bb5c Mon Sep 17 00:00:00 2001 From: yui-knk Date: Tue, 23 Feb 2016 11:01:37 +0900 Subject: [ci skip] Fix `'id'` to be fixed-width font As shown below, we should use ... for string literal ``` $ echo "+'id'+" | rdoc --pipe

+'id'+

$ echo "'id'" | rdoc --pipe

'id'

``` --- activerecord/lib/active_record/nested_attributes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/nested_attributes.rb b/activerecord/lib/active_record/nested_attributes.rb index 0d5a8e6f25..fa2522c2d2 100644 --- a/activerecord/lib/active_record/nested_attributes.rb +++ b/activerecord/lib/active_record/nested_attributes.rb @@ -207,7 +207,7 @@ module ActiveRecord # # The keys of the hash which is the value for +:posts_attributes+ are # ignored in this case. - # However, it is not allowed to use +'id'+ or +:id+ for one of + # However, it is not allowed to use 'id' or :id for one of # such keys, otherwise the hash will be wrapped in an array and # interpreted as an attribute hash for a single post. # -- cgit v1.2.3