mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Missed colon
This commit is contained in:
parent
fa03e37d31
commit
7a95d079a3
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ module ActiveModel
|
|||
# person.to_json # => "{\"name\":\"Bob\"}"
|
||||
# person.to_xml # => "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<serial-person...
|
||||
#
|
||||
# Valid options are <tt>:only</tt>, <tt>:except</tt>, <tt>:methods</tt> and <tt>include</tt>.
|
||||
# Valid options are <tt>:only</tt>, <tt>:except</tt>, <tt>:methods</tt> and <tt>:include</tt>.
|
||||
# The following are all valid examples:
|
||||
#
|
||||
# person.serializable_hash(:only => 'name')
|
||||
|
|
Loading…
Reference in a new issue