Flowdock
method

render_collection

Importance_0
render_collection() private

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_helpers.rb, line 72
        def render_collection #:nodoc:
          @collection.map do |item|
            value = value_for_collection(item, @value_method)
            text  = value_for_collection(item, @text_method)
            default_html_options = default_html_options_for_collection(item, value)
            additional_html_options = option_html_attributes(item)

            yield item, value, text, default_html_options.merge(additional_html_options)
          end.join.html_safe
        end
Register or log in to add new notes.