rubyforgood/human-essentials

Fix 500 on certain date input in donations#index

Geschlossen

#5.608 geöffnet am 21.06.2026

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Ruby (592 Forks)github user discovery
Difficulty—BeginnerGood First IssueHelp Wanted

Repository-Metriken

Stars
 (583 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 90T 16h) (22 gemergte PRs in 30 T)

Beschreibung

From bugsnag, 20250825

It looks like the bank entered an open-ended date ...

NoMethodError donations#indexundefined method 'to_fs' for nil "during the period #{start_date.to_fs(:short)} to #{end_date.to_fs(:short)}" ^^^^^^ Did you mean? to_d

It appears that this occurs when someone enters an open ended date in the picker. It also does not appear that it has any impact on the user.

Contributor Guide