This project is archived and is in readonly mode.

Changeset [cbded53671bccccbaf7e9fdfa93ef86cb097daa3] by Nathan Weizenbaum

November 6th, 2009 @ 04:08 AM

When rendering layouts with blocks, use #capture to avoid assuming that the return value is the block's content.

Signed-off-by: Yehuda Katz wycats@Yehuda-Katz.local
http://github.com/rails/rails/commit/cbded53671bccccbaf7e9fdfa93ef8...

Committed by Nathan Weizenbaum

  • M actionpack/lib/action_view/render/rendering.rb
  • M actionpack/test/fixtures/layouts/block_with_layout.erb

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>