Krysta Paradis somehow shows up 15(!) times on the list of judges for the Sportsman Known flight, and clicking on any of those links causes a Rails crash due to an unexpected nil value. The bogus data also drags down her Rho and Gamma stats dramatically.
To do: delete the bogus records from the database, ideally without changing the final results.
From the production log file:
I, [2022-09-18T11:23:25.213717 #1283825] INFO -- : [8c04dcd9-3756-4460-878e-626d681a817b] Processing by JudgesController#histograms as HTML
I, [2022-09-18T11:23:25.213767 #1283825] INFO -- : [8c04dcd9-3756-4460-878e-626d681a817b] Parameters: {"judge_id"=>"6462", "flight_id"=>"7380"}
I, [2022-09-18T11:23:25.220685 #1283825] INFO -- : [8c04dcd9-3756-4460-878e-626d681a817b] Completed 500 Internal Server Error in 7ms (ActiveRecord: 1.6ms)
F, [2022-09-18T11:23:25.221262 #1283825] FATAL -- : [8c04dcd9-3756-4460-878e-626d681a817b]
F, [2022-09-18T11:23:25.221330 #1283825] FATAL -- : [8c04dcd9-3756-4460-878e-626d681a817b] NoMethodError (undefined method `values' for nil:NilClass):
F, [2022-09-18T11:23:25.221359 #1283825] FATAL -- : [8c04dcd9-3756-4460-878e-626d681a817b]
F, [2022-09-18T11:23:25.221385 #1283825] FATAL -- : [8c04dcd9-3756-4460-878e-626d681a817b] app/controllers/judges_controller.rb:119:in `block in histograms'
[8c04dcd9-3756-4460-878e-626d681a817b] app/controllers/judges_controller.rb:116:in `histograms'
Krysta Paradis somehow shows up 15(!) times on the list of judges for the Sportsman Known flight, and clicking on any of those links causes a Rails crash due to an unexpected
nil
value. The bogus data also drags down her Rho and Gamma stats dramatically.To do: delete the bogus records from the database, ideally without changing the final results.
From the production log file: