learning ruby from http://www.railstutorial.org/