Is it possible to configure Devise to accept logins for multiple models (either User or Admin) from the same form?
A:
If you do STI with User and Admin (aka Admin < User
) that shouldn't be a problem.
Tass
2010-09-20 14:11:10
Thanks man, you are correct for that case, we are using 3 different tables for users (for performance and auditing reasons). So it doesn't apply to my problem. Going to be using Authlogic as it's a little more transparent about things and easier to wiggle into a fit for our problem. Thanks!
stuartc
2010-09-23 07:50:17