mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-25 08:09:38 +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:
parent
778098ebb0
commit
a947db92b2
54 changed files with 349 additions and 184 deletions
16
app/models/investment.rb
Normal file
16
app/models/investment.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
class 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
|
Loading…
Add table
Add a link
Reference in a new issue