|
|
|
@ -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
|
|
|
|
|