I noticed that ActiveSupport::OrderedHash disappeared from the Rails API pages. Does it mean that it is going to be deprecated?
I know that Hash is ordered in Ruby 1.9, but this subject seems controversial, and in my opinion the ordered hash in Ruby 1.9 should have been called OrderedHash (or SequentialHash), even if it be an alias of the current implementation of Hash. That way one would be free to return to unordered hashes in future versions of Ruby.
I am considering using the ordered hash to store an ordered attribute list with their types, to be able to render their values in a table in the selected order. (This is going to be a constant hash.) I would like to write explicitly in my code that i am using OrderedHash. So, is Rails going to continue implementing ActiveSupport::OrderedHash?
Thanks for any information,
Alexey.