Ruby on Rails Tuesday, February 28, 2012

Hi, I'm trying to setup a User model with devise, and I want it to have two emails (personal and work, for example).


And I want them to work as the normal email from devise, except that the login will be done with a username attribute. But the emails that devise will send, I expect to be delivered to both emails.

I also want all the normal email validations on both emails (done by devise of course, not by hand).

How can I do that?


Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment