From: Josselin Date: 2006-12-19T15:15:04+09:00 Subject: DRYing a loop.. I wrote that the newbie way, but is there any way to DRY it ? closed_cities = [] 0.step(9, 1) do |i| closed_cities << City.find_by_id( city_25 [i] [0] ) i = i.next end if yes, is it only for fun , or does it impact performance (a lot ?) thanks for your lights joss