class Role < ActiveRecord::Base has_many :users has_many :access_control_entries SUPER = 1 ADMIN = 2 USER = 3 end