title: Sinatra/Ruby default a parameter
body: <p>Is there a way to default a parameter in Sinatra?</p>
  
  <p>I am currently looking to see if <code>'start'</code> was passed as a parameter, but it seems a little hacky.  It would be nice if I could tell Sinatra to default certain parameters if they are not specified.</p>
  
  <pre><code>get '/comments/?' do
     # want to setup page stuff, default to first page if not specified
     params[:start] = 0 if !params[:start] 
  end
  </code></pre>
  
  <p>Any ideas?</p>