week 5, day 5: ruby, DB, sql.  3rd round of fun friday