Agile Web Development with Rails book, Depot app, chapter 5 onwards