after Week 6 of Makersquare, a review on Rails via http://ruby.railstutorial.org/chapters/beginning#fnref-1_16