Delete valuation

This commit is contained in:
voodoorai2000
2019-03-19 10:59:20 +01:00
parent a932737881
commit 24dde9c35e
28 changed files with 10 additions and 782 deletions

View File

@@ -4,8 +4,6 @@ class Valuator < ApplicationRecord
delegate :name, :email, :name_and_email, to: :user
has_many :valuation_assignments, dependent: :destroy
has_many :spending_proposals, through: :valuation_assignments
has_many :valuator_assignments, dependent: :destroy, class_name: "Budget::ValuatorAssignment"
has_many :investments, through: :valuator_assignments, class_name: "Budget::Investment"