aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/eager_test.rb
Commit message (Expand)AuthorAgeFilesLines
* When preloading has_and_belongs_to_many associations, we should only instanti...Jon Leighton2011-03-041-0/+16
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-30/+84
|\
| * Rewrote AssociationPreload.Jon Leighton2011-02-281-15/+14
| * Run tests without IdentityMap when IM=false is given.Emilio Tagua2011-02-151-7/+7
| * Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-151-8/+48
| |\
| | * Add interpolation of association conditions back in, in the form of proc { .....Jon Leighton2011-02-141-0/+8
| | * the connection pool caches table_exists? callsAaron Patterson2011-02-071-0/+2
| | * When preloading a belongs_to, the target should still be set (to nil) if ther...Jon Leighton2011-01-031-0/+9
| | * Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-031-3/+17
| | * Some basic tests for the :foreign_type option on belongs_to, which was previo...Jon Leighton2011-01-031-1/+12
| | * Fix dodgy tests which were effectively asserting nil == nilJon Leighton2010-12-261-3/+3
| | * removing SQL interpolation, please use scoping and attribute conditionals as ...Aaron Patterson2010-12-221-4/+0
| * | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2010-12-201-9/+29
| |\|
| | * Fix problem with duplicated records when a :uniq :through association is prel...Jon Leighton2010-12-151-1/+8
| | * test for eager load of has_one association with condition on the through tablePivotal Labs2010-12-161-1/+9
| * | Fix number of queries performed in tests.Emilio Tagua2010-11-191-6/+6
| * | Revert "IdentityMap - Adjustments to test cases"Emilio Tagua2010-11-191-6/+2
| * | IdentityMap - Adjustments to test casesMarcin Raczkowski2010-11-191-2/+6
* | | Merge branch 'master' into nested_has_many_throughJon Leighton2010-12-121-0/+5
|\ \ \ | | |/ | |/|
| * | preheating cache so that tests can run in isolationAaron Patterson2010-12-091-0/+5
* | | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-271-0/+52
|\| |
| * | Removed ids_in_list_limit in favor of in_clause_length defined in database_li...Alex Rothenberg2010-11-231-7/+7
| |/
| * removing space errorsAaron Patterson2010-11-181-1/+1
| * Adapters can specify maximum number of ids they support in a list of expressionsAlex Rothenberg2010-11-181-0/+52
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-171-6/+6
|\|
| * fisting a bunch of unused variable warningsAaron Patterson2010-11-151-6/+6
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-081-2/+2
|\|
| * Fixes queries using limits and punctuation in order, removes order("col1, col...Santiago Pastorino2010-11-051-2/+2
| * Add some tests for functionality in JoinAssociation which already exists but ...Jon Leighton2010-10-131-4/+4
| * Revert "porting 515917f5d8678af6c57842ca5dfd7c18e67ff1fe to master"Aaron Patterson2010-09-281-6/+0
| * porting 515917f5d8678af6c57842ca5dfd7c18e67ff1fe to masterAaron Patterson2010-09-281-0/+6
* | Properly support conditions on any of the reflections involved in a nested th...Jon Leighton2010-10-191-2/+2
* | Refactoring JoinDependency and friends. This improves the code (IMO) includin...Jon Leighton2010-10-061-4/+4
* | Fix the tests (I have actually verified that these are also the 'right' fixes...Jon Leighton2010-10-031-2/+2
|/
* Eager loading :through associations will join the :source model if there are ...Grant Ammons2010-07-081-0/+6
* Use better assertion methods for testingNeeraj Singh2010-05-191-1/+1
* Dont try to load the record from the db if preloading didn't find anythingPratik Naik2010-03-311-0/+6
* cleaning up a bunch of parse time warnings in AR [#4186 state:resolved]Aaron Patterson2010-03-151-1/+1
* Don't publicize with_scope for tests since it may shadow public misuseJeremy Kemper2009-12-281-4/+4
* Add Model.from and association_collection#from finder methodsPratik Naik2009-12-281-8/+1
* Use finder options as relation method names to provide more familiarEmilio Tagua2009-08-181-5/+5
* added :order option to find :first methods and associations as otherwise Orac...Raimonds Simanovskis2009-08-061-1/+6
* Fix eager association test related to different ordering on sqliteChad Woolley2009-05-211-1/+1
* Fixed limited eager loading associations with numbers in the name [#2668 stat...Benjamin Floering2009-05-181-0/+4
* Fixed eager load error on find with include => [:table_name] and hash conditi...Anthony Crumley2009-05-101-0/+12
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-4/+4
* Fix :include of has_one with :primary_key optionFrederick Cheung2008-12-261-0/+16
* Fix :include of has_many associations with :primary_key optionFrederick Cheung2008-12-261-0/+17
* Preload uses exclusive scope [#643 state:resolved]Frederick Cheung2008-12-261-0/+15
* Use explicit order to stop test failing randomlyFrederick Cheung2008-12-211-2/+2