Skip to content
  • Frederick Cheung's avatar
    5cebe69e
    Preload uses exclusive scope [#643 state:resolved] · 5cebe69e
    Frederick Cheung authored
    With self referential associations, the scope for the the top level should not affect fetching of associations, for example
    when doing
    
    Person.male.find :all, :include => :friends
    
    we should load all of the friends for each male, not just the male friends.
    5cebe69e
    Preload uses exclusive scope [#643 state:resolved]
    Frederick Cheung authored
    With self referential associations, the scope for the the top level should not affect fetching of associations, for example
    when doing
    
    Person.male.find :all, :include => :friends
    
    we should load all of the friends for each male, not just the male friends.
Loading