search for: sequentialhash

Displaying 1 result from an estimated 1 matches for "sequentialhash".

2011 Jul 14
1
ActiveSupport::OrderedHash disappears?
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 sele...