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:
commit
29ed4e4423
1 changed files with 1 additions and 1 deletions
|
|
@ -669,7 +669,7 @@ class Conference < ActiveRecord::Base
|
||||||
hash[key] = 0
|
hash[key] = 0
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
hash.sort.to_h
|
Hash[ hash.sort ]
|
||||||
end
|
end
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue