I am now at the stage of logging a user in and monitoring the
I have a new table, called sessions.
Now there are a couple of areas that get amended before I see the
1 – in user_controller – in the register action, ther is now a session
Session[:user] = @user_id
2 – in Config/environments, there is a line un-commented out to do
with the Active record
3 – a session param is added to view the session output upon clicking
My problem is, that each time I click register I get an error talking
about the invalid authenticity token on register for the user
Can anyone help?