rubyforgood/human-essentials

Fix 500 on certain date input in donations#index

クローズ

#5,608 opened on 2026/06/21

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Ruby (593 件のフォーク)github user discovery
Difficulty—BeginnerGood First IssueHelp Wanted

Repository metrics

Stars
 (583 個のスター)
PR merge metrics
 (平均マージ 90d 16h) (30d で 22 merged PRs)

説明

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.

コントリビューターガイド