% case params[:get_info] %> <% when "counties" %> Select County <% when "schools" %> Select School <% end %> <%#= options_for_select(@objects.collect{|obj|[obj.name, obj.id]}) %> <% @objects.each do |obj| %> ><%= obj.name %> <% end %>