1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 15:49:39 +02:00

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