small medium large xlarge

02 May 2010, 14:56
Jillika (2 posts)


I followed all the steps in the book till: 11.3 Iteration F3: Limiting Access But now whenever I try to login with the user name and password given by me when i created a user while accessing : http://localhost:3000/users, I am unable to login. I keep getting the error: Invalid/user name/password.

Could anyone please help me out. My code is identical to what is done in the book till that step.

Thanks a ton in advance!


03 May 2010, 03:03
Sam Ruby (633 posts)

Any chance you can copy/paste the source you have for User.authenticate and SessionsController.create?

Also, try skipping ahead momentarily to page 194 and creating a new administrative user.

You must be logged in to comment