1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Disprefer JSONGem decoder since it only decodes JSON objects

This commit is contained in:
Jeremy Kemper 2010-03-09 11:06:31 -08:00
parent ea4f8ef33f
commit a87683fb38

View file

@ -7,7 +7,7 @@ module ActiveSupport
module JSON module JSON
# Listed in order of preference. # Listed in order of preference.
DECODERS = %w(Yajl JSONGem Yaml) DECODERS = %w(Yajl Yaml)
class << self class << self
attr_reader :parse_error attr_reader :parse_error