On Wednesday, July 20, 2011 6:18:40 AM UTC-6, Ruby-Forum.com User wrote:
inside a single layout ‘my_layout’.
behavior of :layout option is not supported anymore?
This :layout option isn’t supported if you’re rendering a collection (I
just
checked the source code in
actionpack-3.0.7/lib/action_view/render/partials.rb, specifically the
ActionView::Partials::PartialRenderer#render_collection method)
The “Rendering Collections” section of the “Layouts and Rendering in
Rails”
guide
(Layouts and Rendering in Rails — Ruby on Rails Guides)
makes no mention of supporting the :layout option either. It does have
support for a :spacer_template option if that helps.