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:
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 .. ![]()
Conrad Taylor wrote:
Hi --