From: Bolo Date: 2007-05-05T03:30:05+09:00 Subject: Re: Condition avant la boucle I am apologize, I wrote my question in French My problem is why i did something like ************************ array = {:bolo => "toto" , :bolo => "toto" } array.each {|key,value| rtCriteria = "#{key} = '#{value}'" } if rtCriteria.blank? puts "rtCriteria is ok" else puts "rtCriteria is not "ok end ************** I have always rtCriteria is not ok the if method was called before the each method It's more clear ?