Rails tutorial chapter 4 until 4.3.0