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.

jvoorhis's latest activity

Tuesday, July 28 2009
1267 Methods invoked within named_scope Procs should respect the scope stack was updated in Ruby on Rails
  • jvoorhis
    jvoorhis commented at 5:32 PM

    At this point, I should explain our motivation for this patch. On a couple occasions we have created some named scopes for complex queries that execute their ow...

Friday, October 24 2008
1267 Methods invoked within named_scope Procs should respect the scope stack was created in Ruby on Rails
  • jvoorhis
    jvoorhis created the ticket at 6:42 PM

    Since Procs passed to a named_scope declaration are executed within the scope of the class, the rules of the scope chain are not applied to queries executed wit...