On Jun 10, 4:09 pm, Max Williams <li...@ruby-forum.com> wrote:
> Here i'm onto the fourth pair and already the order is screwed up: > "Right" has jumped in before "Question". > > Can anyone explain what's going wrong here? thanks - max OrderedHash subclasses from Hash, and the inspect method wasn't overriden to inspect things in order (mea culpa!). if you iterate with each (or look at the keys) then you should see that things are in the right order Fred > > ps i don't want to (re)start a debate on the merits (or lack thereof) of > ordered hashes thanks! Just want to understand this particular problem. > -- > Posted viahttp://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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.