Permalink
Browse files

removing useless code

  • Loading branch information...
1 parent 78ac9c2 commit 2eef53b163353898a0f96d559e3f80600eb6ba15 @tenderlove tenderlove committed Sep 29, 2010
Showing with 0 additions and 1 deletion.
  1. +0 −1 actionpack/lib/action_view/helpers/form_options_helper.rb
@@ -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

0 comments on commit 2eef53b

Please sign in to comment.