Hi guys, I am using the restful_authentication gem for my logins after the user has logged in I see his user id in the session dump in the variable user_id but when i try to access it as session['user_id'] i get a null value... can you tell me whats going wrong here???
Hi guys, I am using the restful_authentication gem for my logins after the user has logged in I see his user id in the session dump in the variable user_id but when i try to access it as
session['user_id'] i get a null value... can you tell me whats going wrong here???
Try session[:user_id] (which is not the same thing as
session['user_id'])
Fred
Frederick Cheung wrote: