[Ruby] LoadError

less than 1 minute read

To resolve LoadError

LoadError occurs where you create a new route, controller, or view.
I ran into an error I saw for the first time.

a9eba52c9101e535dad59a0d0388ef15.png

Solution

When I looked it up, I found that it was pointed out that the controller name was different.
あああ.png

Profile s was missing
From class Profile Controller
Correcting it to class Profiles Controller solved the error!