in rails does the router find the ids or does the controller find them code example Example: root route in rails root :to => "pages#show", :id => '1'