This project is archived and is in readonly mode.

Changeset [493d84ce2f1e25081a394fd70ac4e23b6a2be682] 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...

Committed by Yehuda Katz

  • M actionpack/lib/action_view/render/partials.rb
  • M actionpack/lib/action_view/render/rendering.rb
  • M actionpack/lib/action_view/test_case.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>