I currently have my index.html.erb showing the following code.
<select name="country">
<option>All</option>
<%= country_options_for_select('All') %>
</select>
But the result of the page becomes like this in the html source:
<select name="country">
<option>All</option>
<optionvalue="Afghanistan">Afghanistan</option><optionvalue="Aland
Islands">AlandIslands</option> ...
</select>
It should be instead of <option>
What did I do wrong?