aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/serializers
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2010-07-16 09:58:01 -0400
committerNeeraj Singh <neerajdotname@gmail.com>2010-07-16 09:58:01 -0400
commitc9630d9d87ad0b4a0fc732034b6a106777e257ca (patch)
tree00163e4fc66b68d80c60b21d1da68914ef035bbc /activemodel/lib/active_model/serializers
parentc09cd192aa118fc8300ac787562a9c23afa93007 (diff)
downloadrails-c9630d9d87ad0b4a0fc732034b6a106777e257ca.tar.gz
rails-c9630d9d87ad0b4a0fc732034b6a106777e257ca.tar.bz2
rails-c9630d9d87ad0b4a0fc732034b6a106777e257ca.zip
adding proper markup to comment
Diffstat (limited to 'activemodel/lib/active_model/serializers')
-rw-r--r--activemodel/lib/active_model/serializers/json.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/serializers/json.rb b/activemodel/lib/active_model/serializers/json.rb
index 918cd0ab76..500b2399a3 100644
--- a/activemodel/lib/active_model/serializers/json.rb
+++ b/activemodel/lib/active_model/serializers/json.rb
@@ -19,8 +19,8 @@ module ActiveModel
# passed through +options+.
#
# The option <tt>ActiveModel::Base.include_root_in_json</tt> controls the
- # top-level behavior of to_json. It is true by default. When it is <tt>true</tt>,
- # to_json will emit a single root node named after the object's type. For example:
+ # top-level behavior of <tt>to_json</tt>. It is <tt>true</tt> by default. When it is <tt>true</tt>,
+ # <tt>to_json</tt> will emit a single root node named after the object's type. For example:
#
# konata = User.find(1)
# konata.to_json