array.each is disabled in ruby1.9