Tutorial from http://net.tutsplus.com/tutorials/ruby/singing-with-sinatra-the-recall-app-2/