I think you can do following:
resources :vehicles
scope "/vehicles" do
resources :cars, :motorcycles
end
Or this way:
resources :vehicles
resources :cars, :path => "/vehicles/cars"
resources :motorcycles, :path => "/vehicles/motorcycles"
You can find more information about rails routing here: http://guides.rubyonrails.org/routing.html