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.

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to