This project is archived and is in readonly mode.
Changeset [50c7aab996baafdfee4b1e4b2ca4673ee76bb19a] by Carlos Antonio da Silva
November 11th, 2010 @ 03:22 PM
Fix issue with rendering partials and then yielding inside a render layout call
The given block was never being executed when another render
:partial call
existed before the yield call, due to the block being
overriden.
This commit also adds some more tests to render with :layout
option.
https://github.com/rails/rails/commit/50c7aab996baafdfee4b1e4b2ca46...
Committed by Carlos Antonio da Silva
- A actionpack/test/fixtures/layouts/_partial_and_yield.erb
- A actionpack/test/fixtures/layouts/_yield_only.erb
- A actionpack/test/fixtures/layouts/_yield_with_params.erb
- A actionpack/test/fixtures/layouts/yield_with_render_partial_inside.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>