This is just the revision of chapter 2 from rails book