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.

Andrew White's latest activity

Thursday, February 19 2009
2012 Templates are not reloaded in development when using custom view path was created in Ruby on Rails
  • Andrew White
    Andrew White created the ticket at 12:45 AM

    If you are using a custom view path, e.g:

    
    class ShopController < ApplicationController
    
      prepend_view_path "custom/view/path"
    
      def index
        ... do s...
Wednesday, February 18 2009
1909 Improve view performance in development and reinstate template reloading in p... was updated in Ruby on Rails
  • Andrew White
    Andrew White commented at 4:34 PM

    Just found a slight edge case.

    If you alter the view paths in development mode using a string then when the class gets reloaded and the view paths are reprocess...

Wednesday, February 11 2009
1944 Views are being cached in development was updated in Ruby on Rails
1937 thread safety issues with view rendering in 2.3 RC1 (edge) was updated in Ruby on Rails
1909 Improve view performance in development and reinstate template reloading in p... was updated in Ruby on Rails
  • Andrew White
    Andrew White commented at 10:35 AM

    I've had a look over thedarkone's patch and I do like the way it's implemented and the main reason I didn't do something similar was I wanted to try touch as li...

  • Andrew White
    Andrew White commented at 7:32 AM

    This patch fixes both the reloading and threadsafe issues

  • Andrew White
    Andrew White commented at 7:00 AM

    Here's a patch to fix the reloading when perform_caching is false. Not sure why it wasn't picked up by the test though.

    I'm going over the latest patch from the...

Tuesday, February 10 2009
1909 Improve view performance in development and reinstate template reloading in p... was updated in Ruby on Rails
  • Andrew White
    Andrew White commented at 3:58 PM

    LacKac, does this latest patch help?

  • Andrew White
    Andrew White commented at 12:13 PM

    Gaspard, just a note that the patch that I posted this morning removes those lines anyway. Josh put them back in because of an Initializer test which called loa...

  • Andrew White
    Andrew White commented at 6:44 AM

    Okay, here's a patch that addresses the edge case of the same template being called with different local assigns. I've also tweaked it slightly so that when per...