diff --git a/app/controllers/user_preference_controller.rb b/app/controllers/user_preference_controller.rb index 559479929..3a48ee65e 100644 --- a/app/controllers/user_preference_controller.rb +++ b/app/controllers/user_preference_controller.rb @@ -53,8 +53,7 @@ class UserPreferenceController < ApplicationController # update the entire set of preferences def update begin - p = XML::Parser.new - p.string = request.raw_post + p = XML::Parser.string(request.raw_post) doc = p.parse prefs = []