carmen issue

Hello I am facing some wired error with carmen

ActionView::Template::Error (undefined method `collect’ for “US”:String): <%= f.country_select(:country, “US”) %>

Please if someone can help that will be great.

Thanks Abhis

The second argument to country_select (priority_countries) is supposed to be an Array, not just a string. Changing the above to:

<%= f.country_select(:country, ["US"]) %>

should work.

--Matt Jones

Thanks Matt,

Let me try that.

Thanks abhis