From chapter 1 of The Rails Tutorial