half way through chapter 4 of rails guide