Skip to content

Commit

Permalink
Update account.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Shpigford committed Feb 2, 2024
1 parent dbc76c7 commit dfb999b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/account.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dfb999b

Please sign in to comment.