Tutorial on http://french.railstutorial.org/chapters/beginning