How would I go about defining abilities for several devise models?
This worked for me -
class Ability include CanCan::Ability def initialize(user) if user.is_a?(Admin) can :manage, :all elsif user.is_a?(User) can :create, Comment can :read, :all else can :read, :all end end end