practice with rails routes and switching a sinatra application to rails