Flowdock
method

render_partial_collection

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActionView::Partials
render_partial_collection(partial_path, collection, partial_spacer_template = nil, local_assigns = {}) 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/partials.rb, line 126
      def render_partial_collection(partial_path, collection, partial_spacer_template = nil, local_assigns = {}) #:nodoc:
        return " " if collection.empty?

        local_assigns = local_assigns ? local_assigns.clone : {}
        spacer = partial_spacer_template ? render(:partial => partial_spacer_template) : ''

        if partial_path.nil?
          render_partial_collection_with_unknown_partial_path(collection, local_assigns)
        else
          render_partial_collection_with_known_partial_path(collection, partial_path, local_assigns)
        end.join(spacer)
      end
Register or log in to add new notes.