My rails sample app (chapter 3 in tutorial)