Rails form help needed

For some reason my selct shows <option value="#<Tag:0x47f52e8>"
I am looking to have a select drop down box.
this is my controller
@nonExistingTags=Tag.find_by_sql(“select * from tags where id not in
(select t.id from Tags t,tags_trades tt where t.id = tt.tag_id and
tt.trade_id= #{params[:id]})”)

this is my view

<% #deal with the tags not associated with this trade %>
<%= form_tag( :action => ‘add_tag’ , :id=>@nonExistingTags ) %>
<%= select(“id”,“description” , @nonExistingTags) %>
<%= end_form_tag %>

On Dec 6, 2007, at 15:00 , Junkone wrote:

For some reason my selct shows <option value="#<Tag:0x47f52e8>"

please redirect this question to the ruby on rails mailing list.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs