Merge pull request #499 from openSUSE/arrays_and_hashes_oh_my

there's no such thing as Array#to_h
This commit is contained in:
James Mason 2014-09-10 12:17:33 -07:00
commit 29ed4e4423

View file

@ -669,7 +669,7 @@ class Conference < ActiveRecord::Base
hash[key] = 0
end
end
hash.sort.to_h
Hash[ hash.sort ]
end
##