Todd S. wrote:> I''m using the auth generator and am trying to gain access to the
@user
> variable as indicated in the documentation. When I login everything
> seems to work, I get a "Login successful." message in the
flash[:notice]
> but I cannot get any information from @user from within a controller
> after that. There is nothing in cookies[:user] or session[:user]
> either. Where do I start to debug this?
I have the same problem.
In the documentation you should use @user.reload, but when I use that my
database table crashes....
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---