aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/json
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-03-09 11:06:31 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2010-03-09 11:06:54 -0800
commita87683fb38d6cf66f39a7bd3faa6c969c63b1f46 (patch)
treee273bf1d4f1788e0b296af93d571a7bec4e3fb16 /activesupport/lib/active_support/json
parentea4f8ef33f08a69a68f6b95f392e63ea9cc13602 (diff)
downloadrails-a87683fb38d6cf66f39a7bd3faa6c969c63b1f46.tar.gz
rails-a87683fb38d6cf66f39a7bd3faa6c969c63b1f46.tar.bz2
rails-a87683fb38d6cf66f39a7bd3faa6c969c63b1f46.zip
Disprefer JSONGem decoder since it only decodes JSON objects
Diffstat (limited to 'activesupport/lib/active_support/json')
-rw-r--r--activesupport/lib/active_support/json/decoding.rb2
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