I added login to my app and storing the sessions in the db. I
un-commented the "config.action_controller.session_store =
:active_record_store" line in the environment.rb file, and the :secret
in the application.rb file.
Now, when I try to login I get the error InvalidAuthenticityToken.
Here's my login form:
I added login to my app and storing the sessions in the db. I
un-commented the "config.action_controller.session_store =
:active_record_store" line in the environment.rb file, and the :secret
in the application.rb file.
Now, when I try to login I get the error InvalidAuthenticityToken.
Here's my login form: