Activity
This worked for me:
EDITOR=”code --wait” rails credentials:edit --environment=development
Thanks for your comment, helped me realize that too.
I think it is for code modular, in this case I tried to implement reset password and forgot password in the same controller, but I noticed forgot password is not under before_action: needs_logged_in, so I ended up making another controller like the tuto.