Reset Password in Rails from Scratch
As a continuation of Rails Authentication from Scratch, let's add a password reset feature to our application.
Generating the Reset Password Token
The general flow of a password reset is as follows:
User clicks "Forgot Password" link
User enters ema...
code.avi.nyc6 min read