mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix as_json doc to say what it actually returns.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user