From: Ross Bamford Date: 2006-04-23T22:02:04+09:00 Subject: Re: How to make an array from a date range? On Sun, 2006-04-23 at 21:59 +0900, Robin Stocker wrote: > Ross Bamford wrote: > > (Date.parse('2006-04-01')..Date.parse('2006-04-23')).to_a.map { |e| e.to_s } > > Just a small suggestion: > Leave out the to_a so it's faster and uses less memory :) Doh... I really must find my proofreading glasses :) Thanks, -- Ross Bamford - rosco@roscopeco.REMOVE.co.uk