The personal finance app for everyone
Update account.rb
Josh Pigforddfb999b4c11d
diff --git a/app/models/account.rb b/app/models/account.rbindex 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 :familyscope :depository, -> { where(type: 'Depository') }- VALID_ACCOUNT_TYPES = %w[Investment Depository Credit Loan Property Vehicle OtherAsset OtherLiability].freezeend