Flowdock
method

render

Importance_0
v4.0.2 - Show latest stable - 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 actionpack/lib/action_view/helpers/tags/collection_select.rb, line 14
        def render
          option_tags_options = {
            :selected => @options.fetch(:selected) { value(@object) },
            :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.