diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-09 11:06:31 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-09 11:06:54 -0800 |
commit | a87683fb38d6cf66f39a7bd3faa6c969c63b1f46 (patch) | |
tree | e273bf1d4f1788e0b296af93d571a7bec4e3fb16 | |
parent | ea4f8ef33f08a69a68f6b95f392e63ea9cc13602 (diff) | |
download | rails-a87683fb38d6cf66f39a7bd3faa6c969c63b1f46.tar.gz rails-a87683fb38d6cf66f39a7bd3faa6c969c63b1f46.tar.bz2 rails-a87683fb38d6cf66f39a7bd3faa6c969c63b1f46.zip |
Disprefer JSONGem decoder since it only decodes JSON objects
-rw-r--r-- | activesupport/lib/active_support/json/decoding.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |