Flowdock
method

render

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: CollectionSelect
render() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/tags/collection_select.rb, line 16
        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
Register or log in to add new notes.