method
new
v6.1.3.1 -
Show latest stable
- Class:
ActionView::CollectionRenderer::PreloadCollectionIterator
new(collection, path, variables, relation)public
No documentation available.
# File actionview/lib/action_view/renderer/collection_renderer.rb, line 75
def initialize(collection, path, variables, relation)
super(collection, path, variables)
relation.skip_preloading! unless relation.loaded?
@relation = relation
end