RoR demo app chapter 2