1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00

Account namespace updates: part 1 (#893)

* Rename accountable types

* Merge conflicts

* Fix broken tests

* Add back sidebar changes
This commit is contained in:
Zach Gollwitzer 2024-06-20 07:26:25 -04:00 committed by GitHub
parent 778098ebb0
commit a947db92b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
54 changed files with 349 additions and 184 deletions

View file

@ -1,3 +0,0 @@
class Account::Credit < ApplicationRecord
include Accountable
end

View file

@ -1,3 +0,0 @@
class Account::Crypto < ApplicationRecord
include Accountable
end

View file

@ -1,3 +0,0 @@
class Account::Depository < ApplicationRecord
include Accountable
end

View file

@ -1,16 +0,0 @@
class Account::Investment < ApplicationRecord
include Accountable
SUBTYPES = [
[ "Brokerage", "brokerage" ],
[ "Pension", "pension" ],
[ "Retirement", "retirement" ],
[ "401(k)", "401k" ],
[ "529 plan", "529_plan" ],
[ "Health Savings Account", "hsa" ],
[ "Mutual Fund", "mutual_fund" ],
[ "Roth IRA", "roth_ira" ],
[ "Roth 401k", "roth_401k" ],
[ "Angel", "angel" ]
].freeze
end

View file

@ -1,3 +0,0 @@
class Account::Loan < ApplicationRecord
include Accountable
end

View file

@ -1,3 +0,0 @@
class Account::OtherAsset < ApplicationRecord
include Accountable
end

View file

@ -1,3 +0,0 @@
class Account::OtherLiability < ApplicationRecord
include Accountable
end

View file

@ -1,3 +0,0 @@
class Account::Property < ApplicationRecord
include Accountable
end

View file

@ -1,3 +0,0 @@
class Account::Vehicle < ApplicationRecord
include Accountable
end