I'm trying to build the "Rails Space" app using the RailsSpace book but I've reached the part where you debug your sessions in the layout and my sessions info comes out to be really crazy and look nothing like what it does in the book.
#<CGI::Session:0x17d4708 @session_id="1b50601c8baa5557852b400c0daea941", @cgi=#<Mongrel::CGIWrapper:0x182dd44 @cookies={"_rails_space_session"=>["1b50601c8baa5557852b400c0daea941"]}, @response=#<Mongrel::HttpResponse:0x182df38 @body=#<StringIO: 0x182ded4>, @body_sent=false, @socket=#<TCPSocket:0x18304f4>, @header=#<Mongrel::HeaderOut:0x182de84 @allowed_duplicates={"WWW- Authenticate"=>true, "Set-Cookie2"=>true, "Set-Cookie"=>true, "Warning"=>true}, @sent={"Date"=>true}, @out=#<StringIO:0x182deac>>, @status_sent=false, @status=404, @header_sent=false>, @handler=#<Mongrel::Rails::RailsHandler:0x1771770 @active_request_path="/user", @listener=#<Mongrel::HttpServer: 0x11c0948 @classifier={"/"=>[#<Mongrel::Rails::RailsHandler: 0x1771770 ...>]},
(its longer but I cut it off)
I was hoping anyone could help me with this. I'm using Leopard with SQL installed. Any help would be appreciated, the application adds members easily, and I've triple checked whats in the book and in my code.
I did uncomment the config.action_controller.session_store= :active_record_store in the environment.rb when the book indicated to do so. Another thing you may want/need to know is when I raked the db:sessions:create, in the book it says it should be add_sessions but mine came out to be create_sessions.
Thank you for any help!