class ActionView::CollectionRenderer::PreloadCollectionIterator
def initialize(collection, path, variables, relation)
def initialize(collection, path, variables, relation) super(collection, path, variables) relation.skip_preloading! unless relation.loaded? @relation = relation end