I have 2 models \"Country\" and \"League\", Country has many Leagues and League belongs to Country. When adding a league, I have a listbox with countries and when the form i
You need to use :country_id instead of :country
<%= f.select :country_id, Country.all.collect {|c| [c.name, c.id]} %>