A URL shortener in Ruby with Sinatra and DataMapper