mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 20:14:08 +00:00
Scaffold out basic transactions model and UI (#478)
* Transaction scaffold * Rough in transaction views * Fix sort order * Fix mass assignment issue * Fix test * Simplify CI workflow * Don't seed db before test
This commit is contained in:
@@ -3,6 +3,7 @@ class Account < ApplicationRecord
|
||||
belongs_to :family
|
||||
has_many :balances, class_name: "AccountBalance"
|
||||
has_many :valuations
|
||||
has_many :transactions
|
||||
|
||||
delegated_type :accountable, types: Accountable::TYPES, dependent: :destroy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user