Adding Devise Models[SOLVED]
Unfortunately we didn't really account for a teacher also being a family, or staff, etc.
Do you think roles would be a better way to do this?
Definitely think Roles would work great there. In almost all cases it's a better method.
The only time I'd maybe have separate models is when you really want to lock down the admin area over and above. If you have an AdminUser model separate from User, then there's complete separation between the admin and the main app and no associations or anything are on the AdminUser model.
There may be other situations where you'd want full separation between user types, but in most cases the flexibility of having one User model with the ability to share roles down the road as the product evolves makes for WAY easier development.
The only time I'd maybe have separate models is when you really want to lock down the admin area over and above. If you have an AdminUser model separate from User, then there's complete separation between the admin and the main app and no associations or anything are on the AdminUser model.
There may be other situations where you'd want full separation between user types, but in most cases the flexibility of having one User model with the ability to share roles down the road as the product evolves makes for WAY easier development.
Notifications
You’re not receiving notifications from this thread.