I am following the Ruby on Rails tutorial by Michael Hartl and in the second chapter, a demo app is setup. I am up against an error and I am not able to find the cause!!
I made sure that I followed every command that was in the tutorial:
- Ran
rails new to demo_app
create the project - Updated the gem file as was required
- Executed
rails generate scaffold User name:string email:string
- Migrated the DB using
bundle exec rake db:migrate
- Started the server -
rails s
http://localhost:3000/
shows up right- When I try to navigate to
http://localhost:3000/users/
, I am presented with this error
Can anybody shed some light on why the setup is acting up?!