> I'd avoid using Net::HTTP to do anything
Thanks for the input. Your point is well taken.
None-the-less, I'd still like to be able to do this. The problem with
my code seems to be in this line:
ordered_params[key]=params[key]
This is an assignment statement to an element of an ordered hash.
Thus the left-hand-side is supposed to be representative of an element
of an ordered hash. I think the problem is that 'key' is a string.
This ordered hash thing doesn't seem to work correctly when the hash
index is a string. For whatever reason, it only works correctly when
the hash index is a symbol. I think that if I could figure out how to
make 'key' a symbol, it would work. The problem is that I have no idea
how to do that. But we are straying away from the original topic.
Perhaps I should post this issue in a new thread. My original
question has been quite well answered.
Thanks again for the input.
... doug
--
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.