This project is archived and is in readonly mode.
Changeset [493d84ce2f1e25081a394fd70ac4e23b6a2be682] by Yehuda Katz
Revision 493d84ce2f1e25081a394fd70ac4e23b6a2be682,
committed by Yehuda Katz
· August 7th, 2009 @ 09:40 AM
Modify various partial methods to carry along the block that can be passed in with render * render_single_template, which renders a template without layout * render_partial_unknown_type, which renders a partial of unknown type
(the entry method for most partial rendering; supports strings, objects, and collections)
- _render_partial_object, which renders a partial for a single object.
- extracted _render_partial_path so it can be used to render the spacer without going through the public render :partial http://github.com/rails/rails/co...
3 changed files
-
M
actionpack/lib/action_view/render/partials.rb -
M
actionpack/lib/action_view/render/rendering.rb -
M
actionpack/lib/action_view/test_case.rb