Files
grecia/app/models/budget/tracker_assignment.rb
2019-06-12 16:23:40 +02:00

7 lines
182 B
Ruby

class Budget
class TrackerAssignment < ApplicationRecord
belongs_to :tracker, counter_cache: :budget_investment_count
belongs_to :investment, counter_cache: true
end
end