Fix as_json doc to say what it actually returns.

This commit is contained in:
Robert Ross
2011-10-04 09:37:54 -07:00
parent bb4edc8edf
commit eef176dc7d

View File

@@ -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