Sha256: 63646807ffe510fb13ffbb76f807d6f7356f3cc8378d0bada1cb69827d6ed974
Contents?: true
Size: 337 Bytes
Versions: 3
Compression:
Stored size: 337 Bytes
Contents
module Fae class Role < ActiveRecord::Base include Fae::BaseModelConcern include Fae::RoleConcern has_many :users acts_as_list add_new_at: :bottom default_scope { order('-position DESC') } scope :public_roles, -> {where.not(name: 'super admin')} def fae_tracker_blacklist 'all' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fae-rails-1.7.1 | app/models/fae/role.rb |
fae-rails-1.7.0 | app/models/fae/role.rb |
fae-rails-1.6.0 | app/models/fae/role.rb |