method

build_select

rails latest stable - Class: ActionView::Helpers

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

build_select(type, select_options_as_html)
private

Builds select tag from date type and HTML select options.

build_select(:month, "<option value="1">January</option>...")
=> "<select id="post_written_on_2i" name="post[written_on(2i)]">
      <option value="1">January</option>...
    </select>"