Class: Role
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Role
- 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'}
)