Displaying 1 result from an estimated 1 matches for "prefered_language".
2006 Jan 27
1
Multiple Database write question
...t and update what needs to be changed.
My controller looks like this:
def info
@updateuser = nil
if @request.post?
@updateuser = User.find_first(["login = ?", @user.login])
@updateuser.lastname = @params[:post][:lastname]
@updateuser.firstname= @params[:post][:firstname]
@updateuser.prefered_language = @params[:prefered_language]
notice = ""
if not @params[:post][:password].empty? and not @params[:post]
[:passwordbis].empty?
if @params[:post][:password] == @params[:post][:passwordbis]
@newuser.password = @params[:post][:password]
else
notice += "Your passwords don...