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.

elDub's latest activity

Wednesday, March 24 2010
4132 named_scope gets applied to self-referential relations was updated in Ruby on Rails
  • elDub
    • Tag changed from named_scope acts_as_tree to named_scope
    by elDub at 1:34 PM
Tuesday, March 09 2010
4132 named_scope gets applied to self-referential relations was updated in Ruby on Rails
  • elDub
    elDub commented at 3:20 AM

    Here is a failing test case based off the v2.3.5 tag.

Monday, March 08 2010
4132 named_scope gets applied to self-referential relations was created in Ruby on Rails
  • elDub
    elDub created the ticket at 7:42 PM

    When performing a find using a named scope on an object which utilizes acts_as_tree, the scope is getting applied to the acts_as_tree relations in addition to t...

Friday, September 19 2008
643 named_scope with eager loading affects activerecord objects was updated in Ruby on Rails
  • elDub
    • Tag changed from 2.1, activerecord, bug, eager_loading, has_one, named_scope to 2.1, activerecord, bug, eager_loading, has_one, named_scope
    by elDub at 5:49 PM

    Added failing test case.

Thursday, July 17 2008
643 named_scope with eager loading affects activerecord objects was created in Ruby on Rails
  • elDub
    elDub created the ticket at 4:29 PM

    Named scope with eager loading seems to affect activerecord objects to the point in which the object's relationships are broken.

    Take this example class...

    c...
424 named_scope does not respect eager loading was updated in Ruby on Rails
  • elDub
    elDub commented at 3:37 PM

    Please forgive/ignore my prior post. After re-thinking it, it is a different issue which I will create a new post for.

  • elDub
    • Tag set to eager_loading, named_scope
    by elDub at 3:24 PM

    I have been battling with this issue as well. I think the problem is more related to 'has_one' relationships though.

    class Document < ActiveRecord::Base
      h...