method

render_partial_collection_with_unknown_partial_path

render_partial_collection_with_unknown_partial_path(collection, local_assigns)
private

No documentation available.

# File actionpack/lib/action_view/partials.rb, line 146
      def render_partial_collection_with_unknown_partial_path(collection, local_assigns)
        templates = Hash.new
        i = 0
        collection.map do |element|
          partial_path = ActionController::RecordIdentifier.partial_path(element, controller.class.controller_path)
          template = templates[partial_path] ||= ActionView::PartialTemplate.new(self, partial_path, nil, local_assigns)
          template.counter = i
          i += 1
          template.render_member(element)
        end
      end