removing useless code
This commit is contained in:
parent
78ac9c2be7
commit
2eef53b163
@ -297,7 +297,6 @@ def time_zone_select(object, method, priority_zones = nil, options = {}, html_op
|
||||
def options_for_select(container, selected = nil)
|
||||
return container if String === container
|
||||
|
||||
container = container.to_a if Hash === container
|
||||
selected, disabled = extract_selected_and_disabled(selected).map do | r |
|
||||
Array.wrap(r).map(&:to_s)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user