learning ruby on rails from http://ruby.railstutorial.org/chapters/beginning