Class: Dscf::Core::Role
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Dscf::Core::Role
- Defined in:
- app/models/dscf/core/role.rb
Class Method Summary collapse
- .ransackable_associations(_auth_object = nil) ⇒ Object
- .ransackable_attributes(_auth_object = nil) ⇒ Object
Class Method Details
.ransackable_associations(_auth_object = nil) ⇒ Object
14 15 16 |
# File 'app/models/dscf/core/role.rb', line 14 def self.ransackable_associations(_auth_object = nil) %w[user_roles users reviews] end |
.ransackable_attributes(_auth_object = nil) ⇒ Object
10 11 12 |
# File 'app/models/dscf/core/role.rb', line 10 def self.ransackable_attributes(_auth_object = nil) %w[id code name created_at updated_at] end |