aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorRobert Ross <robert@maintainedauto.com>2011-10-04 09:37:54 -0700
committerRobert Ross <robert@maintainedauto.com>2011-10-04 09:37:54 -0700
commiteef176dc7d2d7cd5788d6b4ab37d39f0884ae334 (patch)
tree0e70bd080f966dd3ab37460a4fb1874ce3741d06 /activemodel/lib
parentbb4edc8edf5dd10b0c83b8920d76751fd93ffd7e (diff)
downloadrails-eef176dc7d2d7cd5788d6b4ab37d39f0884ae334.tar.gz
rails-eef176dc7d2d7cd5788d6b4ab37d39f0884ae334.tar.bz2
rails-eef176dc7d2d7cd5788d6b4ab37d39f0884ae334.zip
Fix as_json doc to say what it actually returns.
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/serializers/json.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/serializers/json.rb b/activemodel/lib/active_model/serializers/json.rb
index 885964633f..31a3f1e148 100644
--- a/activemodel/lib/active_model/serializers/json.rb
+++ b/activemodel/lib/active_model/serializers/json.rb
@@ -15,7 +15,7 @@ module ActiveModel
self.include_root_in_json = true
end
- # Returns a JSON string representing the model. Some configuration can be
+ # Returns a hash representing the model. Some configuration can be
# passed through +options+.
#
# The option <tt>include_root_in_json</tt> controls the top-level behavior