Daniel Kefoe's tutorial at railsapps.org