From 4d40a4619651d098fb73ae2f20c9403dc51d08dc Mon Sep 17 00:00:00 2001 From: martent Date: Mon, 2 Sep 2019 15:42:38 +0200 Subject: [PATCH] Removed FIXME comment --- app/models/person.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/person.rb b/app/models/person.rb index 2f89e38..20c15f3 100644 --- a/app/models/person.rb +++ b/app/models/person.rb @@ -181,8 +181,6 @@ def asylum dates = dates.delete_if { |_k, v| v.blank? } # Get the event with the latest date - # FIXME: sort and max yields different results when there are multiple latest dates that are the same - # dates.max_by { |_k, v| v } dates.sort_by { |_k, v| v }.last end