Class: Cats::Core::RoundPlanItem
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Cats::Core::RoundPlanItem
- Defined in:
- app/models/cats/core/round_plan_item.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
37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'app/models/cats/core/round_plan_item.rb', line 37 def self.ransackable_associations(_auth_object = nil) %w[ round_plan region zone woreda fdp operator beneficiary_round_plan_items round_plan_item_details round_beneficiaries ] end |
.ransackable_attributes(_auth_object = nil) ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 |
# File 'app/models/cats/core/round_plan_item.rb', line 25 def self.ransackable_attributes(_auth_object = nil) %w[ fdp_id operator_id plan_item_id region_id round_plan_id woreda_id zone_id ] end |