Dondi,
Perhaps this might help (with lots of error checking) if user = User.find(params[:user][:id]) then if user.update_attributes(params[:user].keys, params[:user].values) then if user.save then puts "All updated OK" redirect or something else puts "Save failed" end else puts "Validation failed" end else puts "Couldn't find the user in the database end render
Cheers, --Kip