Ruby

Writing MySQL Purge Jobs in Ruby with the Cleansweep Gem

About the simplest thing you can do with a relational database is tell it to delete some data: delete from accounts where accounts.cancelled = true You don’t have to be a DBA to figure out what that does. If only everything was that simple! If you’re using MySQL, as you begin collecting more and more…

Continue Reading