I am currently using the RESTful Authentication plugin for my rails application.
There is a typical scenario where the user remains on the login screen for a long time (say, 1 day ..), which makes the authentication token invalid due to expiration.
When this user tries to log into the system the next day (he has not updated, he is still with this invalid token), he will receive a "500" http error. Create an application crash for this request.
I am wondering if it is possible to catch and warn the user. Like any other innocent web user, he just comes back and tries again ... and gets the same error again ...
ruby-on-rails exception authenticity-token
Pedro cunha
source share