aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/lib/active_resource/formats/json_format.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activeresource/lib/active_resource/formats/json_format.rb')
-rw-r--r--activeresource/lib/active_resource/formats/json_format.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/lib/active_resource/formats/json_format.rb b/activeresource/lib/active_resource/formats/json_format.rb
index 9e269d4ded..1d88fc5f16 100644
--- a/activeresource/lib/active_resource/formats/json_format.rb
+++ b/activeresource/lib/active_resource/formats/json_format.rb
@@ -12,7 +12,7 @@ module ActiveResource
end
def encode(hash, options={})
- hash.to_json
+ hash.to_json(options)
end
def decode(json)