Displaying 1 result from an estimated 1 matches for "my_ordered_hash".
2010 Jan 24
2
OrderedHash Rails 2.3.2
I understand that
ActiveSupport::OrderedHash.new [[1,2]]
does not work beginning with Rails 2.3. I am running Rails 2.3.2.
One commentator suggested simply creating the instance without
arguments and then sequentially adding each element as a separate
step. I tried that. The hash gets populated just fine but it is not
ordered. Can anyone please tell me what the magic trick is under