From: Robert Klemme Date: 2008-02-18T01:34:55+09:00 Subject: Re: Randomising On 17.02.2008 15:10, 7stud -- wrote: > quiz_names = ['a', 'b', 'c', 'd', 'e'] > > random_names = quiz_names.sort_by {|quiz_name| rand(0)} You do not need the block parameter. Cheers robert