1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Coerce the key to a string before checking. (thar be symbols). Fixes #684

This commit is contained in:
Evan Phoenix 2015-04-13 09:58:55 -07:00
parent a3af7ba7ab
commit b8c087d967

View file

@ -103,7 +103,7 @@ module Puma
@options.merge!(rack_options)
config_ru_binds = rack_options.each_with_object([]) do |(k, v), b|
b << v if k.start_with?('bind')
b << v if k.to_s[0,4] == "bind"
end
@options[:binds] = config_ru_binds unless config_ru_binds.empty?