Preserve original transaction names when enriching (#1556)

* Preserve original transaction name

* Remove stale method

* Fix tests
This commit is contained in:
Zach Gollwitzer
2024-12-19 10:16:09 -05:00
committed by GitHub
parent 68617514b0
commit 7be6a372bf
22 changed files with 100 additions and 76 deletions

View File

@@ -119,7 +119,7 @@ module EntryableResource
def entry_params
params.require(:account_entry).permit(
:account_id, :name, :date, :amount, :currency, :excluded, :notes, :nature,
:account_id, :name, :enriched_name, :date, :amount, :currency, :excluded, :notes, :nature,
entryable_attributes: self.class.permitted_entryable_attributes
)
end