From the Heroku/Jumpstart workshop at RailsConf 2013.