method
from_collection
v7.1.3.4 -
Show latest stable
- Class:
ActionView::CollectionRenderer::PreloadCollectionIterator
from_collection(collection)public
No documentation available.
# File actionview/lib/action_view/renderer/collection_renderer.rb, line 85
def from_collection(collection)
self.class.new(collection, @path, @variables, @relation)
end