aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
| |\ \
| | * | Match destroyed_by_association for has_one to has_manyLisa Ugray2017-07-211-0/+34
| | |/
| * | Reset column information after schema changedyuuji.yaginuma2017-07-201-0/+2
| * | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-1921-0/+42
| |/
| * Merge pull request #29679 from kamipo/add_test_case_for_27724Kasper Timm Hansen2017-07-151-0/+7
| |\
| | * Add a test case for overwriting existing condition on associationsRyuta Kamizono2017-07-071-0/+7
| * | Remove extra `.merge!(order: "id")` for `Relation#first` in testsRyuta Kamizono2017-07-132-32/+28
| |/
* | Reset column information after schema changedyuuji.yaginuma2017-07-161-0/+2
* | Merge branch 'master' into unlock-minitestKasper Timm Hansen2017-07-159-56/+102
|\|
| * Fix eager loading association with scope including joinsRyuta Kamizono2017-07-041-0/+1
| * Fix preloading association with scope including joinsRyuta Kamizono2017-07-041-0/+4
| * Remove redundant `assert_respond_to`Ryuta Kamizono2017-07-031-26/+0
| * Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-0221-21/+0
| * Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-0221-0/+21
| |\
| | * Enforce frozen string in RubocopKir Shatrov2017-07-0121-0/+21
| * | Merge pull request #29631 from kamipo/should_be_clear_association_idsMatthew Draper2017-07-011-0/+5
| |\ \
| | * | Should be clear `@association_ids` when joined newly associated recordRyuta Kamizono2017-06-301-0/+5
| | |/
| * | Merge pull request #28808 from fschwahn/fix-polymorphic-automic-inverseMatthew Draper2017-07-012-6/+16
| |\ \ | | |/ | |/|
| | * Add regression test for setting inverse instances on normal & polymorphic rel...Fabian Schwahn2017-04-201-0/+14
| | * Remove :polymorphic from INVALID_AUTOMATIC_INVERSE_OPTIONSFabian Schwahn2017-04-201-6/+2
| * | Remove unused `aliased_table_name` in `Association`Ryuta Kamizono2017-06-291-1/+0
| * | Merge pull request #29601 from kamipo/fix_eager_loading_to_respect_store_full...Rafael Mendonça França2017-06-281-10/+17
| |\ \
| | * | Fix eager loading to respect `store_full_sti_class` settingRyuta Kamizono2017-06-291-10/+17
| * | | Merge pull request #29610 from kamipo/dont_passing_klass_connection_to_associ...Rafael França2017-06-281-2/+1
| |\ \ \
| | * | | Don't passing `klass.connection` to `AssociationScope`Ryuta Kamizono2017-06-291-2/+1
| * | | | Merge pull request #29611 from kamipo/add_test_case_for_unscoping_default_scopeRafael França2017-06-281-2/+3
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Add a test case for unscoping `default_scope` in associationsRyuta Kamizono2017-06-291-2/+3
| | |/ /
| * | | Merge pull request #29602 from kamipo/use_reload_in_test_find_first_after_reloadRafael França2017-06-281-10/+10
| |\ \ \ | | |/ / | |/| |
| | * | Use `reload` in `test_find_first_after_reload`Ryuta Kamizono2017-06-281-10/+10
| * | | ActiveRecord: do not create "has many through" records that have been removedTobias Kraze2017-06-281-0/+11
| |/ /