Paul Cabeza


2,330 Experience
23 Lessons Completed
0 Questions Solved


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.

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.