http://loopkid.net/articles/2008/06/19/ordered-hashes-in-ruby-1-8
- Maurício Linhares http://codeshooter.wordpress.com/ | http://twitter.com/mauriciojr On Wed, Jul 22, 2009 at 9:29 AM, Hemant Bhargava<[email protected]> wrote: > > But i remember i had done it in Perl .. So y not with ruby .. > > Hemant Bhargava wrote: >> So no solution .. is it .. ? >> >> >> >> Maurício Linhares wrote: >>> 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 >>> >>> >>> >>> On Wed, Jul 22, 2009 at 9:23 AM, Hemant > > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

