1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/associations
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
..
belongs_to_associations_test.rb Ensure methods called on association proxies respect access control. [#1083 state:resolved] [Adam Milligan, Pratik] 2008-10-13 19:02:34 +02:00
callbacks_test.rb Make HABTM#create behave the same as << with after_add callbacks. Closes #11374 [freels] 2008-04-04 14:37:22 +00:00
cascaded_eager_loading_test.rb Association preloading no longer stops if it hits a nil object [#1630 state:resolved] 2008-12-26 18:25:50 +00:00
eager_load_includes_full_sti_class_test.rb Make sure association preloading works with full STI class name [#465 state:Resolved] 2008-07-18 03:44:44 +01:00
eager_load_nested_include_test.rb remember created records and select a random one instead of relying on sequential id values starting at 1 2008-08-21 19:33:26 +02:00
eager_singularization_test.rb Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails 2008-01-21 17:20:51 +00:00
eager_test.rb Preload uses exclusive scope [#643 state:resolved] 2008-12-26 18:25:55 +00:00
extension_test.rb applied patch to fix the associations with blocks in modules bug from an old trac ticket 2008-09-20 13:46:09 -07:00
has_and_belongs_to_many_associations_test.rb Add :having option to find, to use in combination with grouped finds. Also added to has_many and has_and_belongs_to_many associations. 2008-12-01 20:22:31 +01:00
has_many_associations_test.rb Fix configure_dependency_for_has_many not quoting conditions properly [#1461 state:resolved] 2008-12-21 15:57:48 +00:00
has_many_through_associations_test.rb Fix has many through not quoting table names [#1163 state:resolved] 2008-12-20 21:08:51 +00:00
has_one_associations_test.rb Ensure methods called on association proxies respect access control. [#1083 state:resolved] [Adam Milligan, Pratik] 2008-10-13 19:02:34 +02:00
has_one_through_associations_test.rb Fix preloading of has_one :through associations on belongs_to [#1507 state:resolved] 2008-12-18 19:19:36 +00:00
inner_join_association_test.rb Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails 2008-01-21 17:20:51 +00:00
join_model_test.rb Test for eager loading of STI subclasses from htm associations 2008-08-16 22:26:11 +01:00