Following great tutorial at ruby.railstutorial.org/