[rails] around middle of chapter 7