Displaying 1 result from an estimated 1 matches for "nayaert".
Did you mean:
annaert
2008 May 30
6
Session problem
Hello everyone,
I am just starting a project for school in RoR and I am a complete
n00b ^^
Here''s my problem :
I need to get the user''s login stored in the session but for some
reason I cannot.
Here''s my login method code :
def login
if request.post?
@user = User.find_by_username(params[:login])
if @user and @user.password_is? params[:password]