On Oct 29, 7:06 pm, Cameron Vessey <li...@ruby-forum.com> wrote:

> when I've looked up ruby and selects in most all are in a form_for.
> I don't know why I would need a form_for in this case.
>
> Form_for refers to a model. But I have no model I need to refer to I
> simpley want these options to be shown, which I can do from an array. In
> my index I have
>

If I were you I'd use select_tag/options_for_select rather than
generating all that html by hand. You can use form_tag instead of
form_for if there is no model to bind to.

Fred
> Posted viahttp://www.ruby-forum.com/.

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to