method
render
v3.2.1 -
Show latest stable
-
0 notes -
Class: PartialRenderer
- 1.0.0
- 1.1.0
- 1.1.1
- 1.1.6
- 1.2.0
- 1.2.6
- 2.0.0
- 2.0.1
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.2
- 2.3.8
- 3.0.0
- 3.0.5
- 3.0.7
- 3.0.9
- 3.1.0 (0)
- 3.2.1 (0)
- 3.2.3 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- What's this?
render(context, options, block)
public
Hide source
# File actionpack/lib/action_view/renderer/partial_renderer.rb, line 220 def render(context, options, block) setup(context, options, block) identifier = (@template = find_partial) ? @template.identifier : @path if @collection instrument(:collection, :identifier => identifier || "collection", :count => @collection.size) do render_collection end else instrument(:partial, :identifier => identifier) do render_partial end end end


