Hi --

On Sun, 23 Apr 2006, 13 wrote:

>> Can you just do this?
>>
>> first:
>>    id: 1
>>    filename: dummy1.png
>>    params:
>>      dates: ['2006-04-20']
>>      currencies: ['USD']
>>
>> David
>
> I need to generate random data for testing. Dates will be between
> first and last date of current month, and random currency code.

How about:

...
   params:
     currencies: <%= random_array.inspect %>

or something like that.


David

-- 
David A. Black (dblack / wobblini.net)
Ruby Power and Light, LLC (http://www.rubypowerandlight.com)

"Ruby for Rails" PDF now on sale!  http://www.manning.com/black
Paper version coming in early May!