Step 2.4 Rooting error


First of all hello!
I am trying to complete step 2.4 by running the command “rails server” , but when i enter the link localhost:3000/cars i am greeted with " No route matches [GET] “/cars” ".

And in the terminal i get ActionController::RoutingError (No route matches [GET] “/cars”).

Does anyone have an idea of what might be wrong?

edit: tried the commands again and it now works .


@kaleshin You ran the command: rails db: migrate?