I use rails 2.3.8 with MySQL5 on a Mac (10.6.4) and I have a problem with user connexion. Each time I try to connect I am always redirect to… login. The session seems ok in the DB.
| id | session_id
| 5 | 82a08a581f29a1cd89ab2e67a58291f3 |
And the user exist in the DB too | id | name | | 1 | test |
I saw a explanation in admin_controller.rb (a mistake form another reader
[session :user_id] = :user.id should be
[session :user_id] = user.id) but my admin_controller.rb is ok.
I am a newbie but session_id should be user.id, in this case 1 no ?
Thanks in advance, Jacques Foucry