From a87683fb38d6cf66f39a7bd3faa6c969c63b1f46 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Tue, 9 Mar 2010 11:06:31 -0800 Subject: Disprefer JSONGem decoder since it only decodes JSON objects --- activesupport/lib/active_support/json/decoding.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/json') diff --git a/activesupport/lib/active_support/json/decoding.rb b/activesupport/lib/active_support/json/decoding.rb index e357b6837a..04ff316a44 100644 --- a/activesupport/lib/active_support/json/decoding.rb +++ b/activesupport/lib/active_support/json/decoding.rb @@ -7,7 +7,7 @@ module ActiveSupport module JSON # Listed in order of preference. - DECODERS = %w(Yajl JSONGem Yaml) + DECODERS = %w(Yajl Yaml) class << self attr_reader :parse_error -- cgit v1.2.3