Files
nairobi/app/models/budget/valuator_group_assignment.rb

6 lines
195 B
Ruby

class Budget
class ValuatorGroupAssignment < ApplicationRecord
belongs_to :valuator_group, counter_cache: :budget_investments_count
belongs_to :investment, counter_cache: true
end
end