Files
sure/app
Alex Kreidler 0761e8c237 Fix transactions page crash when no accounts exist (#1453)
Skip the accessible_account_ids filter when the array is empty, preventing
Rails from creating a "none" relation that causes .take to return nil.
An empty [] is truthy in Ruby, so `if accessible_account_ids` was applying
a WHERE account_id IN () clause that matched nothing.

Fixes #1452

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 13:31:00 +02:00
..
2026-03-25 10:50:23 +01:00