I encountered the same issue. I’m sure there are better ways to do
this, and perhaps some even “blessed” ways, but here is what I did.
In my application controller, I added the following:
@left_sidebar_for_layout = render_to_string(:partial =>
@right_sidebar_for_layout = render_to_string(:partial =>
Then, in my application layout, I use these new content variables the
same as I would for @content_for_layout.
It’s not pretty, but it works.
Anyone got a better way?