there's no such thing as Array#to_h

(cherry picked from commit 780bd84bc17f55b0ece1d86a2b224f0340495c73)
This commit is contained in:
James Mason 2014-09-09 17:49:22 -07:00
parent c486027e6b
commit a3e4ab5ca0

View file

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