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.

Aaron's latest activity

Tuesday, September 21 2010
5658 Layout option in replace_html is ignored when partial renders a sub partial. was updated in Ruby on Rails
  • Aaron
    Aaron commented at 6:52 PM

    Just to make things clear. The layout option of replace_html IS ignored, but ONLY when the "<%= render :partial => 'layouts/errors' %>" is added to the '_show.h...

  • Aaron
    Aaron commented at 4:44 AM

    Sorry everyone, not having much luck with entering ticket information.

    Anyway...this is a continuation of the previous comment...

    Attachement 1 (1.png) illustra...

  • Aaron
    Aaron commented at 4:38 AM

    OK, I thought I would try to clean up the example and get rid of a lot of noise from my last example. Here's a simplified version (on a new rails 3.0 project):

    ...

Sunday, September 19 2010
5658 Layout option in replace_html is ignored when partial renders a sub partial. was updated in Ruby on Rails
  • Aaron
    Aaron commented at 4:07 PM

    Some further information. Replacing

    <%= render :partial => 'layouts/errors', :locals => {:target => @withdrawal} %>
    

    with a the simplest partial, one that only...

  • Aaron
    Aaron commented at 12:22 AM

    I should mention, this is Rails 3.0.0.

Saturday, September 18 2010
5658 Layout option in replace_html is ignored when partial renders a sub partial. was created in Ruby on Rails
  • Aaron
    Aaron created the ticket at 11:59 PM

    When a partial with a sub partial is rendered via a page.replace_html content, the layout option is ignored.

    withdrawals_controller

      def new
        @withdrawal =...