has_secure_token
has_secure_token copied to clipboard
Add option so that token is not generated on create?
In my model I need to have an email confirmation token and a reset password token. Having the email confirmation token generated on creation is fine, but having it generated on creation for the reset password token is not required.
Maybe it would be nice to have an option so that when set, the token is not generated on create?