RailsTutorial: SampleApp (chapter 3)