Make split by gender faster
This commit is contained in:
parent
dad3597c1b
commit
0e3870a6fa
@ -206,6 +206,7 @@ class Handler
|
||||
# How feminine is this name?
|
||||
# Yes this database is upper case
|
||||
nombre = item[1].upcase
|
||||
puts "Checking #{nombre}"
|
||||
feminidad = 0
|
||||
sql = %(
|
||||
SELECT COALESCE((SELECT frecuencia FROM mujeres WHERE nombre='#{nombre}'), 0) AS mujeres,
|
||||
|
Loading…
Reference in New Issue
Block a user