Collection_select and API docs questions


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

select(“post”, “person_id”, Person.find_all.collect {|p| [, ] }, { :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.


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