The sample_app exercise from Michael Hartl's railstutorial.org/book.