Step 2.4 Rooting error


#1

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 .


#2

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