Following Ruby on Rails tutorial (http://www.railstutorial.org/book/beginning)