Permalink
Browse files

Fix as_json doc to say what it actually returns.

  • Loading branch information...
1 parent bb4edc8 commit eef176dc7d2d7cd5788d6b4ab37d39f0884ae334 @bobbytables bobbytables committed Oct 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/serializers/json.rb
@@ -15,7 +15,7 @@ module JSON
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

0 comments on commit eef176d

Please sign in to comment.