I've posted a patch that fixes some issues with OrderedHash doing weird things with keys. I'd appreciate it if someone could check it out and apply it.
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1676-orderedhash-mishandles-keys
Thanks, Brandon