Displaying 1 result from an estimated 1 matches for "saved_attributesnil".
2007 Feb 21
1
setting session data from a post
...ogged in.
Executing break point at
/Users/intention/work/idm_local/config/../lib/authenticated_system.rb:52
in `login_required''
irb(#<LinksController:0x2481fec>):001:0> session
=> #<ActionController::TestSession:0x24805fc @attributes={:user=>7,
"flash"=>{}}, saved_attributesnil, session_id""
irb(#<LinksController:0x2481fec>):002:0> session[:user]
=> nil
What I don''t understand is why I can''t access the attributes that are
listed in the session object. You can see that the @attributes hash has
the value 7 for the key :user.
What am...