method

render

rails latest stable - Class: ActionView::Helpers::Tags::CollectionSelect
render()
public

No documentation available.

# File actionview/lib/action_view/helpers/tags/collection_select.rb, line 19
        def render
          option_tags_options = {
            selected: @options.fetch(:selected) { value },
            disabled: @options[:disabled]
          }

          select_content_tag(
            options_from_collection_for_select(@collection, @value_method, @text_method, option_tags_options),
            @options, @html_options
          )
        end