Creating an HTML select

Are you wrapping the collection_select code in <%= %> tags?

Nik Nik wrote:

No problem. <% %> should be around code that you do not want the output added to the rendered page (adding a dash at the end like -%> will suppress the newline) and <%= %> goes around code that will generate output to be included in the rendered page. Hope this helps you.

Nik Nik wrote: