Update account.rb

This commit is contained in:
Josh Pigford
2024-02-02 11:10:14 -06:00
parent dbc76c76ef
commit dfb999b4c1

View File

@@ -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