put
get "/:username" => 'users#show'
above root 'some_path'
update,
The route file match from up to bottom, let's say, you now have a route
get "/search" => "controller#method"
if you put your get "/:username" before it, then your app may think you are trying to find a user with username "search", so put the get "/:username" => 'users#show' at the bottom of your routes list.