This project is archived and is in readonly mode.
Changeset [7846fb79e1296986c41250bfea2e115e7683fa61] by Carlos Antonio da Silva
November 11th, 2010 @ 03:22 PM
Fix render partial with layout and no block
When using a render :partial with :layout call, without giving a
block,
if the given :partial had another render :partial call, the layout
was
not being rendered. This commit fixes this context by storing
variables
before rendering the partial, so they are not overrided in any
successive
call to render partials down the path. All ActionPack tests are
ok.
https://github.com/rails/rails/commit/7846fb79e1296986c41250bfea2e1...
Committed by Carlos Antonio da Silva
- A actionpack/test/fixtures/test/_partial_with_partial.erb
- M actionpack/test/template/render_test.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>