I’m using the login_generator and with this new version of Rails, I
can’t even get my app to work. Everything gives a 500 error. In the
console, it says this error:
undefined method `model’ for ApplicationController:Class
In the login_generator plugin, you’re supposed to put this command in
the application controller:
When I took it out, it complained about something else…something to
do with secrets. So how can I fix this?