Skip to content

Commit

Permalink
Fix as_json doc to say what it actually returns.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Ross committed Oct 4, 2011
1 parent bb4edc8 commit eef176d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/serializers/json.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module JSON
self.include_root_in_json = true self.include_root_in_json = true
end 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+. # passed through +options+.
# #
# The option <tt>include_root_in_json</tt> controls the top-level behavior # The option <tt>include_root_in_json</tt> controls the top-level behavior
Expand Down

0 comments on commit eef176d

Please sign in to comment.