Flowdock
method

render_collection

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: CollectionHelpers
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 actionpack/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)

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