Hash Problem .. + Urgent

Hashes won't keep the insertion order in Ruby (or any other language,
you'll usually have to use some kind of ordered hash).

But i remember i had done it in Perl .. So y not with ruby ..

Hemant Bhargava wrote:

http://loopkid.net/articles/2008/06/19/ordered-hashes-in-ruby-1-8

Hi --

Hashes won’t keep the insertion order in Ruby (or any other language,

you’ll usually have to use some kind of ordered hash).

Maurício Linhares

http://codeshooter.wordpress.com/ | http://twitter.com/mauriciojr

This isn’t true because the insertion order is maintained in Ruby 1.9.1

as well as Smalltalk.

-Conrad

By d way champs .. where to write the code for require 'file' .. ? in
layouts file or in same file .. or in controller or in model .. :slight_smile:

Conrad Taylor wrote:

Hi --