Class: Dscf::Credit::SystemConfig
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Dscf::Credit::SystemConfig
- Includes:
- Dscf::Core::ReviewableModel
- Defined in:
- app/models/dscf/credit/system_config.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
17 18 19 |
# File 'app/models/dscf/credit/system_config.rb', line 17 def self.ransackable_associations(auth_object = nil) %w[config_definition last_updated_by reviews] end |
.ransackable_attributes(auth_object = nil) ⇒ Object
13 14 15 |
# File 'app/models/dscf/credit/system_config.rb', line 13 def self.ransackable_attributes(auth_object = nil) %w[id config_value created_at updated_at] end |