Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Update account.rb

Josh Pigforddfb999b4c11d
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