The simple

ActiveSupport::OrderedHash.new [[1,2]]

does no longer work in Rails 2.3, so I built a small patch for array that make OrderedHash creation simple again.

def to_ordered_hash
  oh = ActiveSupport::OrderedHash.new
  each {|k,v| oh[k]=v }
  oh
end

#Usage
hash = [[:key, 'value'], [:key2, :value2], [1, 2]].to_ordered_hash
value == hash[:key]