Sembra che ciò sia causato da un valore corrotto di last_match_at nella tua tabella screened_ip_addresses.
Puoi risolverlo eseguendo quanto segue nella console Rails (./launcher enter app quindi rails c):
# Per prima cosa, trova i record problematici
ScreenedIpAddress.where("last_match_at < '0001-01-01'").each do |sip|
puts "ID: #{sip.id}, IP: #{sip.ip_address}, last_match_at: #{sip.last_match_at}"
end
# Quindi eliminalo
ScreenedIpAddress.where("last_match_at < '0001-01-01'").destroy_all
# Oppure correggi il timestamp impostandolo su `NULL` (in modo che utilizzi `created_at` per la logica di pulizia invece)
ScreenedIpAddress.where("last_match_at < '0001-01-01'").update_all(last_match_at: nil)