Cleaning Up Rails Sessions, Revisited
Saturday, September 16th, 2006In an earlier post, we detailed a method for removing stale Rails session files. In more recent version of Rails, there is a Rake task built in for this administration task.
rake tmp:sessions:clear # Clears all files in tmp/sessions