I just submitted The Tiniest Patch in the World. This patch adds an #inspect method to ActiveSupport::OrderedHash to make the display of OrderedHashes more obvious in order to avoid confusion of them with Arrays (which their current #inspect makes them appear to resemble). Here is the patch on Lighthouse:
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1782-orderedhash-should-not-pretend-to-be-an-array And here is a pastie with some example output: http://pastie.org/364930 Output format was developed in conversation with technoweenie on The Twitter. Thanks, in advance, Greg Borenstein http://urbanhonking.com/ideasfordozens --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---