I've found a few refs to a bit of code to cleanup stale sessions. In
my ignorance, I'm not sure what the best practice is for invoking this
Some talk about a cron job, others say to call it from a frequently
invoked action (e.g. login). This article mentions both:
One comment is that the cron job will cause a load of rails each time
which could load things too much.
Another is that the calling from the login type of action could also
cause problems if you're handling lots of concurrent requests.
What do those of you with experience on fairly active sites say?