rubyforgood/human-essentials

Fix 500 on certain date input in donations#index

已關閉

#5,608 建立於 2026年6月21日

 (0 則留言) (0 個反應) (0 位負責人)Ruby (592 個分叉)github user discovery
Difficulty—BeginnerGood First IssueHelp Wanted

倉庫指標

星標
 (583 顆星)
PR 合併指標
 (平均合併 90天 16小時) (30 天內合併 22 個 PR)

描述

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.

貢獻者指南