Files
rails/activerecord/test/models
Frederick Cheung 5cebe69e74 Preload uses exclusive scope [#643 state:resolved]
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.
2008-12-26 18:25:55 +00:00
..
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-07-31 16:36:23 -05:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-05-01 15:03:16 -05:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00
2008-07-31 16:36:23 -05:00
2008-01-18 07:27:03 +00:00
2008-01-18 07:27:03 +00:00