log query

This commit is contained in:
Roberto Alsina 2024-05-15 20:32:17 -03:00
parent 49a486af66
commit 1733aa40df

View File

@ -208,6 +208,8 @@ class Handler
end end
end end
puts "Data gathered"
if datos.empty? if datos.empty?
# This is bad 😀 # This is bad 😀
return { return {
@ -222,9 +224,12 @@ class Handler
row[1].to_s.includes? " " row[1].to_s.includes? " "
} }
if genero if genero
datos = split_por_genero(datos)[genero] datos = split_por_genero(datos)[genero]
puts "Data split by gender"
end end
datos = datos[..10] datos = datos[..10]
if datos.size > 1 if datos.size > 1