Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Jeff Schuil's latest activity

Tuesday, March 17 2009
2279 render :layout with block and multiple yields renders twice was updated in Ruby on Rails
  • Jeff Schuil
    Jeff Schuil commented at 10:35 PM

    Also, in _common.html.erb, if instead of <%= yield :top %> I use (the deprecated) <%= @content_for_top %> it works as expected.

  • Jeff Schuil
    Jeff Schuil created the ticket at 10:12 PM

    Its possible I'm misusing render :layout for sharing view markup between layouts, but this seems strange nonetheless.

    
    <!-- layouts/_common.html.erb -->
    comm...