I am using devise gem for authentication.
In my application admin will create the users, so I want the user\'s reset password link when admin creates users.
This
If you don't want it to send the instructions, just set and store the token you can call the private method in devise recoverable concern set_reset_password_token.
recoverable
set_reset_password_token
You can do this by doing something like user.send(:set_reset_password_token).
user.send(:set_reset_password_token)