Thanks Matt,
Let me try that.
Thanks
abhis
On Wed, Sep 14, 2011 at 10:45 PM, Matt Jones
<al2o3cr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>
> On Sep 13, 3:36 pm, Abhishek shukla
<bettera...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > 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.
> >
>
> 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
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.