aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
...
* Deprecate update_attributes and update_attributes!Eddie Lebow2018-02-172-7/+7
* Merge pull request #31934 from fatkodima/fix-has_many_through-dumpingRyuta Kamizono2018-02-091-0/+5
|\
| * Fix marshaling of models with `has_many :through` associationsfatkodima2018-02-081-0/+6
|/
* Remove extra whitespaceDaniel Colson2018-01-254-25/+25
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-259-68/+68
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-2513-242/+242
* Use respond_to test helpersDaniel Colson2018-01-251-1/+1
* Fix building has_one through recordRyuta Kamizono2018-01-231-0/+12
* Don't update counter cache when through record was not destroyedEugene Kenny2018-01-141-0/+10
* Merge pull request #23146 from piotrj/issue_18424Ryuta Kamizono2018-01-111-0/+19
|\
| * When deleting through records, take into account association conditionsPiotr Jakubowski2016-05-041-0/+16
* | Fix `stale_state` for nested `has_many :through` associationsRyuta Kamizono2018-01-101-12/+28
* | Merge pull request #16314 from zoltankiss/allow-nested-has-many-associations-...Ryuta Kamizono2018-01-101-0/+29
|\ \
| * | Fix nested `has many :through` associations on unpersisted instancesZoltan Kiss2015-03-261-0/+29
* | | Fix newly added reflection order when redefining associationRyuta Kamizono2018-01-041-1/+1
* | | Merge pull request #27561 from fishbrain/count-all-in-has-many-associationRyuta Kamizono2018-01-031-0/+8
|\ \ \
| * | | Use `count(:all)` in HasManyAssociation#count_recordsKlas Eskilson2017-02-071-0/+8
* | | | Add test case for `collection_singular_ids` with symbol primary keysRyuta Kamizono2018-01-011-0/+8
* | | | Bugfix foreign key replacement in inverse associationBogdan Gusiev2017-12-271-0/+9
* | | | Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the futureRyuta Kamizono2017-12-143-7/+7
* | | | Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed moreRyuta Kamizono2017-12-122-2/+2
* | | | 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