Class: Role

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/role.rb

Overview

A role defines a group of users in the system who are able to access a collection of features in the application.

Examples

Role.bootstrap(
  {:id => 1, :name => 'administrator'},
  {:id => 2, :name => 'developer'},
  {:id => 3, :name => 'guest'}
)