Rails 4 Devise Multiple User Models STI
问题 Thanks for reading. I am using Devise and Rails 4. I want to add multiple User Models(admin, usertype1, usertype2) such that they inherit from the main User Model. I have searched many posts and come to the conclusion that I may use CanCan, which I do not want, or I may use Single Table Inheritance. The way I see it is to add a type string-column to my main User model I created with Devise. I will also need to extend each sub-class from the parent as in: class Admin < User end class Usertype1