'Update primary email using devise-multi_email gem
I'm using Devise for user authentication, and I'm trying to use devise-multi_email gem so users can have and login with several emails. I also need to have the options for users to select which email they want as primary. Is there a gem method that handles this or a call-back method to the email class would be a better approach?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
