ROR – How to update email of user when using devise gem?

/ By Arjun / Published on December 5, 2017

If you update user email address when you are using device gem, it will be stored in the unconfirmed_email column and it will trigger email by asking confirmation with a confirmation link. If you want to override this behavior you can do that, by calling skip_reconfirmation!.

To skip only the reconfirmation email notification use: skip_confirmation_notification!

To confirm user manually you can use: confirm.

Example Script

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

0 0 votes
Article Rating
Notify of
1 Comment
Newest Most Voted
Inline Feedbacks
View all comments
2 months ago

I think you have a typo on the first line. Should be:

Would love your thoughts, please comment.x