From f0259223123a966d103b13553e3c51f891c77a57 Mon Sep 17 00:00:00 2001 From: z9hang Date: Wed, 3 Dec 2014 17:51:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E9=83=A8=E5=88=86=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/account_controller.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb index 541aad681..686f70a11 100644 --- a/app/controllers/account_controller.rb +++ b/app/controllers/account_controller.rb @@ -149,14 +149,7 @@ class AccountController < ApplicationController end if @user.id != nil ue = @user.user_extensions ||= UserExtensions.new - #ue = UserExtensions.create(:identity => params[:identity].to_i,:technical_title => params[:technical_title], :gender => params[:gender].to_i, :user_id => @user.id, :student_id => ) - #ue.identity = params[:identity].to_i - #ue.technical_title = params[:technical_title] - #ue.gender = params[:gender].to_i ue.user_id = @user.id - #ue.student_id = params[:no] - #ue.location = params[:province] if params[:province] != nil - #ue.location_city = params[:city] if params[:city] != nil ue.save end @user