sinatra params from scratch