mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] Fix 'id'
to be fixed-width font
As shown below, we should use <tt>...</tt> for string literal ``` $ echo "+'id'+" | rdoc --pipe <p>+'id'+</p> $ echo "<tt>'id'</tt>" | rdoc --pipe <p><code>'id'</code></p> ```
This commit is contained in:
parent
c0bbfdb48e
commit
c5b36a3e43
1 changed files with 1 additions and 1 deletions
|
@ -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 <tt>'id'</tt> or <tt>:id</tt> for one of
|
||||
# such keys, otherwise the hash will be wrapped in an array and
|
||||
# interpreted as an attribute hash for a single post.
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue