select(object, method, choices = nil, options = {}, html_options = {}, &block)
Instance Public methods
Create a select tag and a series of contained option tags for the provided
object and method. The option currently held by the object will be
selected, provided that the object is available.
There are two possible formats for the choices parameter,
corresponding to other helpers' output:
A flat collection (see
options_for_select).
A nested collection (see
grouped_options_fo