RoR Tutorial , chapter 1