Files
grecia/app/models/budget/valuator_assignment.rb
2019-04-17 17:40:56 +02:00

7 lines
185 B
Ruby

class Budget
class ValuatorAssignment < ApplicationRecord
belongs_to :valuator, counter_cache: :budget_investments_count
belongs_to :investment, counter_cache: true
end
end