mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 13:14:03 +00:00
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
|
||||
end
|
||||
end
|
||||
hash.sort.to_h
|
||||
Hash[ hash.sort ]
|
||||
end
|
||||
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue