Following the book at http://www.railstutorial.org