Mar09
Clear Rails sessions on Dreamhost
Following the advice of the Agile Web Development with Rails book, I sought to clear out sessions periodically from the Scrawlers database. I also took a hint from RealityForge.org and put the work directly in Rails, using script/runner to execute. Specifically I created a new model class: SessionCleaner (/app/models/sessioncleaner.rb).
Continue reading »