1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-10 07:55:21 +02:00

Fix valuations reference

This commit is contained in:
Zach Gollwitzer 2025-04-14 10:02:18 -04:00
parent d206125169
commit ab371c1b29

View file

@ -148,7 +148,7 @@ class Account < ApplicationRecord
end
def first_valuation
entries.account_valuations.order(:date).first
entries.valuations.order(:date).first
end
def first_valuation_amount