Home>

Please write your question in detail here.
I'm learning Chapter 2 of rails tutorial 6th edition.
2.2 The following issues occurred while implementing the scaffold feature in the User Resources chapter.

The problem i am having
Error message

Instead of an error, the browser display says "File could not be accessed".

Corresponding source code
Source code
This code is what you see when you run rails s -b 0.0.0.0.

=>Booting Puma
=>Rails 6.0.3 application starting in development
=>Runrails server --helpfor more startup options
Puma starting in single mode ...

  • Version 4.3.4 (ruby 2.6.3-p62), codename: Mysterious Traveler
  • Min threads: 5, max threads: 5
  • Environment: development
  • Listening on tcp: //0.0.0.0:8080
    Use Ctrl-C to stop
What I tried

I followed the procedure in the curriculum and entered the URL in the same way, but I can't see the pages shown in Figures 2.4, 2.5, 2.6, etc.Curriculum Chapter 2

Supplementary information (FW/tool version, etc.)

Please provide more detailed information here.
Curriculum Chapter 2

  • Answer # 1

    I found a similar questioner and was able to solve it.

Related articles