Module: Role::Authorized
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/role/authorized.rb
Overview
Include this module into your ActiveRecord model and get has_many roles and some utility named_scopes. You also get the ability to define role relations by name through the role_relation class method. These relationships are intended for owned resources