Skip to content

Commit

Permalink
removing useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Sep 29, 2010
1 parent 78ac9c2 commit 2eef53b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion actionpack/lib/action_view/helpers/form_options_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2eef53b

Please sign in to comment.