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.

贡献者指南