hey, i have a model called continents, that has a name and an id, anyone
know why this doesnt work
<%= collection_select(:continent, :name, @continents, :id, :name),
but this does
<%= collection_select(:continent, :id, @continents, :id, :name), many
thanks
The first results in a:
undefined method `name’ for #Array:0x22cff08
Thankyou.