rails--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
..
author.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
auto_id.rb
binary.rb
book.rb
categorization.rb
category.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
citation.rb
club.rb Ensure methods called on association proxies respect access control. [#1083 state:resolved] [Adam Milligan, Pratik] 2008-10-13 19:02:34 +02:00
column_name.rb
comment.rb Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen] 2008-03-24 02:50:02 +00:00
company.rb Fix configure_dependency_for_has_many not quoting conditions properly [#1461 state:resolved] 2008-12-21 15:57:48 +00:00
company_in_module.rb Improve ActiveRecord::Base#table_name unit tests for nested classes. Closes #10289. [scott_willson] 2008-04-07 19:44:37 +00:00
computer.rb
contact.rb
course.rb
customer.rb Added :constructor and :converter options to composed_of and deprecated the conversion block 2008-09-10 18:28:47 +02:00
default.rb
developer.rb Fix default_scope to work in combination with named scopes 2008-11-17 22:00:14 +01:00
edge.rb
entrant.rb
guid.rb Fix validates_uniqueness_of for SQL keywords [#23 state:resolved] 2008-05-11 19:30:03 +01:00
item.rb
job.rb Ensure table names are quoted by the association preloading code. 2008-04-26 12:14:50 +12:00
joke.rb
keyboard.rb
legacy_thing.rb
matey.rb
member.rb Fix preloading of has_one :through associations on belongs_to [#1507 state:resolved] 2008-12-18 19:19:36 +00:00
member_detail.rb Fix preloading of has_one :through associations on belongs_to [#1507 state:resolved] 2008-12-18 19:19:36 +00:00
member_type.rb Fix preloading of has_one :through associations on belongs_to [#1507 state:resolved] 2008-12-18 19:19:36 +00:00
membership.rb Add has_one :through support, finally. Closes #4756 [thechrisoshow] 2008-03-21 18:09:03 +00:00
minimalistic.rb
mixed_case_monkey.rb
movie.rb
order.rb
organization.rb fix assignment to has_one :through associations. 2008-11-15 18:20:39 +01:00
owner.rb Fixed preloading belongs_to associations which reference a custom foreign key. References #9640. 2008-01-31 07:50:15 +00:00
parrot.rb Allow for the dirty tracking to work with the aliased name of aliased attributes. 2008-09-13 11:41:14 +02:00
person.rb Preload uses exclusive scope [#643 state:resolved] 2008-12-26 18:25:55 +00:00
pet.rb Fixed preloading belongs_to associations which reference a custom foreign key. References #9640. 2008-01-31 07:50:15 +00:00
pirate.rb Dirty attributes aren't cleared if save fails. [#174 state:resolved] 2008-05-12 17:04:17 -07:00
post.rb explicitly including child associations that are also included in the parent association definition should not result in double records in the collection/double loads (#1110) 2008-10-10 16:58:39 +02:00
price_estimate.rb Fix has_many :through a polymorphic has_many. Closes #10529 [Aleksey Kondratenko] 2008-02-02 03:27:31 +00:00
project.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
reader.rb
reference.rb Ensure table names are quoted by the association preloading code. 2008-04-26 12:14:50 +12:00
reply.rb Fix file permissions 2008-07-31 16:36:23 -05:00
ship.rb
sponsor.rb Add has_one :through support, finally. Closes #4756 [thechrisoshow] 2008-03-21 18:09:03 +00:00
subject.rb
subscriber.rb Fixed AssociationsPreload such that it doesnt require foreign keys to be integers (fcheung) [#33 state:resolved] 2008-04-30 23:30:50 -05:00
subscription.rb Added missing files 2008-05-01 15:03:16 -05:00
tag.rb
tagging.rb
task.rb
topic.rb Fix file permissions 2008-07-31 16:36:23 -05:00
treasure.rb Fix has_many :through a polymorphic has_many. Closes #10529 [Aleksey Kondratenko] 2008-02-02 03:27:31 +00:00
vertex.rb
warehouse_thing.rb