the demo in chapter 2 of Ruby on Rails Guide