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.

artemave's latest activity

Wednesday, January 27 2010
948 template lookup should search controller inheritance chain was updated in Ruby on Rails
  • artemave
    artemave commented at 4:16 PM

    Here is the version WITHOUT layout inheritance.
    Few notes:

    • Template inheritance ended up in PathSet rather than Resolver. Since instance of Resolver is an ele...

Tuesday, January 26 2010
948 template lookup should search controller inheritance chain was updated in Ruby on Rails
  • artemave
    artemave commented at 11:38 AM

    Speaking of layout inheritance. If implemented, it may change current behavior of existing applications. Some controllers may start falling back to parent layou...

Monday, January 25 2010
948 template lookup should search controller inheritance chain was updated in Ruby on Rails
  • artemave
    artemave commented at 10:06 AM

    No worries. This feature is a bit cursed though. Started here: http://dev.rubyonrails.org/ticket/5027 . Then failed to make it here: http://dev.rubyonrails.org/...

  • artemave
    artemave commented at 9:33 AM

    When you talk about 'array of contexts' do you mean the array in FileSystemResolverWithFallback?

    P.S.
    Good point about layouts not being inherited (in my patch)...

  • artemave
    artemave commented at 9:29 AM

    Rizwan,

    I've been waiting for 3 months for any response. If it wasn't for that, this feature would have been done long time ago. So I think it would be fair for...

Sunday, January 24 2010
948 template lookup should search controller inheritance chain was updated in Ruby on Rails
  • artemave
    artemave commented at 8:35 PM

    I am struggling to figure out how. Resolver has got no awareness of controller at the moment. Unless we start passing it to view_paths elements. Does that sound...

Friday, January 22 2010
948 template lookup should search controller inheritance chain was updated in Ruby on Rails
  • artemave
    artemave commented at 4:08 PM

    Well, this is roughly it.

  • artemave
    artemave commented at 9:01 AM

    Rizwan, I'm finishing up the patch at the moment. However the change affects AbstractController::Rendering rather than Resolver. I'll look closely though into t...

Friday, November 06 2009
948 template lookup should search controller inheritance chain was updated in Ruby on Rails
  • artemave
    artemave commented at 7:04 PM

    Guys, quick doublecheck. Am I supposed to make 3.0 version at this point or the whole idea has to be first reviewed by Yehuda Katz?

Saturday, October 31 2009
948 template lookup should search controller inheritance chain was updated in Ruby on Rails
  • artemave
    artemave commented at 11:02 AM

    Oh no, not 3.0... I am desperately lost in that code ;)