How can I configure Devise for Ruby on Rails to store the emails and passwords somewhere other than in the user model?

Posted by TLK on Stack Overflow See other posts from Stack Overflow or by TLK
Published on 2010-12-20T00:32:50Z Indexed on 2011/01/04 12:53 UTC
Read the original article Hit count: 145

I'd like to store emails in a separate table and allow users to save multiple emails and log in with any of them. I'd also like to store passwords in a different table.

How can I configure Devise to store authentication info elsewhere?

Worst case scenario, if I just have to hack into it, is there a generator to just port everything over to the app? I noticed there was a generator for the views.

Thanks.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about authentication