From dfb999b4c11dacf5caea33d22061e1fb0b9f8651 Mon Sep 17 00:00:00 2001 From: Josh Pigford Date: Fri, 2 Feb 2024 11:10:14 -0600 Subject: [PATCH] Update account.rb --- app/models/account.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/account.rb b/app/models/account.rb index 405377d1..ac8e3131 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -1,6 +1,7 @@ class Account < ApplicationRecord + VALID_ACCOUNT_TYPES = %w[Investment Depository Credit Loan Property Vehicle OtherAsset OtherLiability].freeze + belongs_to :family scope :depository, -> { where(type: 'Depository') } - VALID_ACCOUNT_TYPES = %w[Investment Depository Credit Loan Property Vehicle OtherAsset OtherLiability].freeze end