I do dump the value of RUBY_VERSION => 1.8.7
every time, the value of [1,3,5].shuffle is also [1,3,5] i have to add a srand(Time.now.to_i) or srand() in front of it to make it random... I thought srand is automatically called? but maybe not in a .cgi environment?
if i use irb, and look at [1,3,5].shuffle, and exit, and re-enter irb, each time the results are different.
by the way, ri shuffle
didn't give anything, and the Array and Enumerable docs didn't list shuffle or shuffle! either... ?