Files
sure/app/models/account.rb
2024-02-02 17:15:12 +00:00

8 lines
227 B
Ruby

class Account < ApplicationRecord
VALID_ACCOUNT_TYPES = %w[Investment Depository Credit Loan Property Vehicle OtherAsset OtherLiability].freeze
belongs_to :family
scope :depository, -> { where(type: "Depository") }
end