Learning rails, chapter 3