search for: authentic_us

Displaying 1 result from an estimated 1 matches for "authentic_us".

Did you mean: authentic_user
2006 Mar 04
4
Two quick newbie questions
2 quick questions regarding authentication ... 1) the flash[:notice] on successful login looks completely wrong to me. How should it be done? def index if request.post? @user = User.new(params[:user]) authentic_user = @user.attempt_login if authentic_user session[:user_id] = authentic_user.id flash[:notice] = ''Login successful! Welcome '' + authentic_user.first_name + '' '' + authentic_user.last_name + ''!'' redir...