Good suggestion - but alas no checked in IE as well - but the
behavior is the same.
I captured the header and I can see there is a 302 redirect:
GET /login/add_user HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12)
HTTP/1.x 302 Found
Date: Tue, 25 Apr 2006 20:50:48 GMT
Content-Type: text/html; charset=UTF-8
Server: WEBrick/1.3.1 (Ruby/1.8.4/2005-12-24)
Set-Cookie: _session_id=531248c754a353db2d85f51b885e6e2c; path=/
It looks like it can’t find the user_id from the session. Check if you
have cookies disabled in your browser.
On 4/25/06, Luke H. [email protected] wrote:
In an attempt to go back to the drawing board and learn RoR some more -
I have built the depot application from the agile book.
After finishing I tried to create a user for the admin section, however
when ever I go to:
It redirects to the login action, I don’t see the [add user] submit
I am sure this is connected to the application.rb
flash[:notice] = “Please log in”
redirect_to(:controller => “login”, :action => “login”)
To trace if this may have been a typos by yours truly - I replaced all
of the files with the ones from the pragmatic site and I am still facing
the same issue?
Did anyone else come across a similar issue when working through the