aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/eager_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Ensure :include checks joins when determining if it can preload [#528 state:r...Frederick Cheung2008-12-181-0/+65
* Fix preloading of belongs_to with null foreign key generating useless query [...Frederick Cheung2008-12-181-1/+2
* Ensure hash conditions on referenced tables are considered when eager loading...Paul2008-11-261-2/+18
* Remove SQL Server cases from tests for latest adapter work to pass rails expe...Ken Collins2008-11-191-1/+1
* explicitly including child associations that are also included in the parent ...Will Bryant2008-10-101-1/+41
* Fix has_many :through when the source is a belongs_to association. [#323 stat...Zach Dennis2008-10-041-0/+9
* wrote a test showing eager loading's misbehavior (sanitizing against the wron...Will Bryant2008-09-291-0/+7
* Fix yet another implicit order dependant testTarmo Tänav2008-08-261-3/+3
* Load the first and not the last has_one result when doing join-based eager lo...Tarmo Tänav2008-08-251-0/+6
* Don't interpret decimals as table names in ActiveRecord::Associations::ClassM...Peter Wagenet2008-08-211-0/+7
* Added missing fixtures for tests which fail to run independently if run after...Tarmo Tänav2008-08-041-1/+1
* Fix conditions and order on join tables with limited eager loading. [#372 st...Tiago Macedo2008-06-081-1/+12
* When preloading group by reflection rather than by class [#125 state:resolved]Frederick Cheung2008-05-111-0/+6
* Ensure hm:t preloading honours reflection options. [#137 state:resolved]Frederick Cheung2008-05-111-0/+11
* Ensure correct record is returned when preloading has_one where more than one...Frederick Cheung2008-05-061-0/+4
* Fixed AssociationsPreload such that it doesnt require foreign keys to be inte...David Heinemeier Hansson2008-04-301-1/+22
* Ensure table names are quoted by the association preloading code.Frederick Cheung2008-04-261-1/+27
* Make sure ActiveRecord tests can run individually. Closes #11425 [thechrisosh...Pratik Naik2008-03-281-1/+1
* Provide a post title for sqlite3Jeremy Kemper2008-02-281-2/+2
* Fix that batched :include would pull in duplicate records in some cases. Clos...Jeremy Kemper2008-02-281-0/+26
* Ensure nested preloading works when associations return nil. Closes #11145 [...Michael Koziarski2008-02-181-0/+6
* Make dynamic finders respect the :include on HasManyThrough associations. Cl...Michael Koziarski2008-02-181-0/+6
* Fix the pre-quoted table names in the eager tests. [mislav]Michael Koziarski2008-02-111-2/+4
* Fix eager loading with pre-quoted table names. Closes #11046 [danielmorrison,...Michael Koziarski2008-02-111-0/+24
* Fixed preloading belongs_to associations which reference a custom foreign key...Jeremy Kemper2008-01-311-1/+9
* Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/railsJeremy Kemper2008-01-211-2/+2
* Introduce preload query strategy for eager :includes. Closes #9640.Jeremy Kemper2008-01-191-10/+35
* Move tests to casesJeremy Kemper2008-01-181-0/+447