Displaying 1 result from an estimated 1 matches for "user_w_country".
Did you mean:
user_country
2008 Apr 02
4
options_from_collection_for_select
I have a drop down of country''s and I would like the USA to be the first
displayed. I have tried:
<select id = "user_w_country" name ="user[w_country]" onchange =
"<%=func%>">
<%= options_from_collection_for_select @country, ''id'',
''country'', :selected => Countrycode.find_by_country(''USA'').id %>
</select>
It doesn...