if not text_field, then what?

I want the show.rhtml to generate a drop down list (I'll deal with
populating that list later). What's the syntax please to generate a drop-
down list?

All code at: <http://strawr.googlecode.com/svn/>

Here's what I have:

thufir@arrakis ~/Desktop $
thufir@arrakis ~/Desktop $ tail strawr/app/views/feeds/show.rhtml

<%= start_form_tag :action => 'record', :id => @category %>
  <p>
    <%= text_field 'category', 'category'%>
  </p>
  <%= submit_tag 'Record!' %>
<%= end_form_tag %>

thufir@arrakis ~/Desktop $

thanks,

Thufir

Quoting Thufir <hawat.thufir@gmail.com>:

I want the show.rhtml to generate a drop down list (I'll deal with
populating that list later). What's the syntax please to generate a drop-
down list?

See the select helpers. http://rails.rubyonrails.com/ has nice documentation.

HTH,
  Jeffrey

Thanks, it certainly gets me started. I have an empty list and am now
working on a query of the "categories" table to populate the list with
all the categories:

thufir@arrakis ~/Desktop/strawr $
thufir@arrakis ~/Desktop/strawr $ tail app/views/feeds/show.rhtml -n 2

<select name="categories[category_ids][]" multiple="multiple">
thufir@arrakis ~/Desktop/strawr $

<http://strawr.googlecode.com/svn/trunk/app/views/feeds/show.rhtml>

thanks,

Thufir