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.
When I looked it up, I found that it was pointed out that the controller name was different.
Profile s was missing
From class Profile Controller
Correcting it to class Profiles Controller solved the error!