Make split by gender faster

This commit is contained in:
Roberto Alsina 2024-05-16 07:49:26 -03:00
parent 0e3870a6fa
commit 751d02fab3

View File

@ -205,7 +205,7 @@ class Handler
datos = datos.find do |item| datos = datos.find do |item|
# How feminine is this name? # How feminine is this name?
# Yes this database is upper case # Yes this database is upper case
nombre = item[1].upcase nombre = item[1].as_s.upcase
puts "Checking #{nombre}" puts "Checking #{nombre}"
feminidad = 0 feminidad = 0
sql = %( sql = %(