From eef176dc7d2d7cd5788d6b4ab37d39f0884ae334 Mon Sep 17 00:00:00 2001 From: Robert Ross Date: Tue, 4 Oct 2011 09:37:54 -0700 Subject: Fix as_json doc to say what it actually returns. --- activemodel/lib/active_model/serializers/json.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel/lib') 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 include_root_in_json controls the top-level behavior -- cgit v1.2.3