Jou could use orderedhash gem to have hashes ordered like arrays for example if you really need it for some reason: http://codeforpeople.com/lib/ruby/orderedhash/ Markus Schirp wrote: > Hashes enumeration does not mirror insertion order. > Hashes are not ordered: > > http://en.wikipedia.org/wiki/Hash_table#Drawbacks > > Markus -- Posted via http://www.ruby-forum.com/.