diff options
author | Arun Agrawal <arunagw@gmail.com> | 2012-04-16 19:10:04 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2012-04-16 19:11:32 +0530 |
commit | 57baa0e97aa4b444706007fe5b9e9ecb5e462df5 (patch) | |
tree | e8b400fb694e8010c1bf0b1c519b874800944b67 /activesupport/lib | |
parent | 039a118857975fa4495a3728d97c65c5d91a8a87 (diff) | |
download | rails-57baa0e97aa4b444706007fe5b9e9ecb5e462df5.tar.gz rails-57baa0e97aa4b444706007fe5b9e9ecb5e462df5.tar.bz2 rails-57baa0e97aa4b444706007fe5b9e9ecb5e462df5.zip |
fixed broken build after multi_json upgrade
Multi_json also upgraded.
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/json/decoding.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/json/decoding.rb b/activesupport/lib/active_support/json/decoding.rb index cbeb6c0a28..986a764479 100644 --- a/activesupport/lib/active_support/json/decoding.rb +++ b/activesupport/lib/active_support/json/decoding.rb @@ -9,7 +9,7 @@ module ActiveSupport module JSON class << self def decode(json, options ={}) - data = MultiJson.decode(json, options) + data = MultiJson.load(json, options) if ActiveSupport.parse_json_times convert_dates_from(data) else @@ -18,12 +18,12 @@ module ActiveSupport end def engine - MultiJson.engine + MultiJson.adapter end alias :backend :engine def engine=(name) - MultiJson.engine = name + MultiJson.use(name) end alias :backend= :engine= |