rails/rails — Issue #3442: Cannot render to a specific yield region when layout is specified in a partial
Author: joeytheman
Created: 2011-10-26 16:55:26+00:00
State: open

When rendering a partial and specifying a layout through a js request like
`render :partial => 'index', :layout => 'layouts/content_holder'`
custom yield regions such as `yield :h1_text` defined in the layout are rendered as `yield` instead of `yield :h1_text` causing duplicate content to appear.

My environment is Rails 3.1.1, Ruby 1.9.2, Ubuntu 11.10

Code and steps to reproduce the issue

https://github.com/joeytheman/Rails-3.1-render-bug