Forum: Ruby on Rails collection_select and API docs questions

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Phillip Novess (Guest)
on 2006-05-15 19:54
(Received via mailing list)
Hello,

I'm wondering where in the docs am I suppose to find a complete list of
options for the collection_select helper?

For instance the API docs have an example for the select helper  as
below:

  select("post", "person_id", Person.find_all.collect {|p| [ p.name,
p.id ] }, { :include_blank => true })

Where the heck do I find valid values for the options and html options?
(ie. :include_blank )  No where on the page is there a description of
what the options or html options is for and what values I can use.
Seems rather deficient in it's it's completeness.

Any help would be appreciated.

Thanks,
Phill
This topic is locked and can not be replied to.