aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #31214 from chopraanmol1/bug_fix_has_one_inverse_owner_rel...Eileen M. Uchitelle2017-11-291-0/+10
|\
| * Inverse instance should not be reloaded during autosave if called in validationAnmol Chopra2017-11-271-0/+10
* | Provide arguments to RecordNotFoundNikita Misharin2017-11-251-1/+4
|/
* Merge pull request #27947 from mastahyeti/unsafe_raw_sqlMatthew Draper2017-11-141-5/+5
|\
| * try using regexesBen Toews2017-11-099-28/+28
| * allow table name and direction in string order argBen Toews2017-11-096-86/+86
| * work around deprecation warnings in a bunch of testsBen Toews2017-11-0910-115/+115
* | Set counter caches to correct values in fixturesBogdan Gusiev2017-11-082-2/+2
|/
* Fix preloading polymorphic multi-level through associationRyuta Kamizono2017-11-061-0/+11
* Fix preloading polymorphic association when through association has already l...Ryuta Kamizono2017-11-061-0/+11
* `source_type_scope` should respect correct table aliasRyuta Kamizono2017-10-301-0/+14
* Fix all `s/trough/through/`Ryuta Kamizono2017-10-271-1/+1
* Fix typo `s/trough/through/`Ryuta Kamizono2017-10-271-1/+1
* Merge pull request #30682 from ahorek/fix_scope_forRyuta Kamizono2017-10-271-0/+5
|\
| * delegate scope forpavel2017-10-271-0/+5
* | fix initial countpavel2017-10-271-0/+4
|/
* Ensure associations doesn't table name collide with aliased joinsRyuta Kamizono2017-10-241-0/+8
* Remove deprecated support to passing a class to `:class_name` on associationsRafael Mendonça França2017-10-231-13/+0
* Fix duplicate aliases when using both INNER/LEFT JOINsRyuta Kamizono2017-10-231-0/+5
* Ensure associations doesn't table name collide with string joinsRyuta Kamizono2017-10-231-0/+5
* Add a test case that eager-loading with a polymorphic association and using `...Ryuta Kamizono2017-10-161-0/+4
* Show the failed queries in `test_has_one_does_not_use_order_by`Ryuta Kamizono2017-10-141-1/+2
* Joined tables in association scope doesn't use the same aliases with the pare...Ryuta Kamizono2017-10-091-0/+4
* `has_many :through` with unscope should affect to through scopeRyuta Kamizono2017-09-071-0/+4
* Don't expose `find_all_ordered` utility method in testsRyuta Kamizono2017-09-021-4/+5
* Fix preloading through association with custom scopeRyuta Kamizono2017-09-021-0/+5
* Add a test case for preloading through association with implicit sourceRyuta Kamizono2017-09-021-0/+8
* :warning: assigned but unused variable - messageAkira Matsuda2017-09-011-6/+6
* Should work inverse association when eager loadingRyuta Kamizono2017-08-251-0/+6
* Load both `:authors` and `:author_addresses` to keep data integrityYasuo Honda2017-08-222-2/+2
* Automatically guess the inverse associations for STIyui-knk2017-08-221-1/+38
* Add deterministic sorting order for `test_taking_with_a_number`Ryuta Kamizono2017-08-181-1/+9
* Through scope should not be affected by scopingRyuta Kamizono2017-08-151-0/+19
* Merge pull request #30169 from awortham/awortham/awortham/fix-sql-distinct-bugRafael Mendonça França2017-08-141-0/+26
|\
| * Ensure sum honors distinct on has_many throughAaron Wortham2017-08-141-0/+26
* | Merge pull request #30215 from untidy-hair/clarify-abstract-or-not-in-testsRafael França2017-08-141-3/+3
|\ \
| * | Clarify base_class tests on abstract STI vs concrete STIYukio Mizuta2017-08-121-3/+3
| |/
* / Fix `reflection.association_primary_key` for `has_many` associationsRyuta Kamizono2017-08-132-17/+14
|/
* Merge pull request #30103 from yahonda/has_one_associations_failuresRafael França2017-08-111-1/+1
|\
| * Add `:authors` fixture to address two random failures at HasOneAssociationsTestYasuo Honda2017-08-061-1/+1
* | Merge pull request #29720 from gaurish/ar_find_error_message_improvementRafael França2017-08-111-2/+4
|\ \
| * | Return Not found Ids in ActiveRecord::NotFoundGaurish Sharma2017-07-291-2/+4
* | | Fix random CI failure due to non-deterministic sorting orderbogdanvlviv2017-08-091-1/+1
* | | Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2017-08-081-1/+1
| |/ |/|
* | Merge remote-tracking branch 'origin/master' into unlock-minitestRafael Mendonça França2017-08-0121-47/+120
|\|
| * Fix `warning: assigned but unused variable - comment`Ryuta Kamizono2017-07-251-1/+1
| * Merge pull request #29765 from lugray/fix_counter_cacheRafael França2017-07-241-0/+11
| |\
| | * Add test for fixed `counter_cache` double incrementLisa Ugray2017-07-191-0/+11
| * | Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-17/+0
| * | Merge pull request #29855 from lugray/has_one_destroyed_by_associationRafael França2017-07-211-0/+34
| |\ \