An example app, based on RailsCast #328