aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_through_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Give up filling schema cache before `assert_no_queries`Ryuta Kamizono2019-05-221-8/+2
* Implicit through table joins should be appeared before user supplied joinsRyuta Kamizono2019-05-191-0/+8
* Merge pull request #32313 from lulalala/model_error_as_objectRafael França2019-04-241-6/+10
|\
| * Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'`lulalala2019-03-311-6/+10
* | Merge pull request #28155 from lcreid/belongs_toRyuta Kamizono2019-04-101-0/+16
|\ \ | |/ |/|
| * Fix circular `autosave: true`Larry Reid2018-07-231-0/+16
* | Fix callbacks on has_many :through associations (#33249)Ryan Kerr2019-03-301-0/+18
* | Fix test that was broken by adding a default scope to an existing modelRafael Mendonça França2019-02-261-2/+2
* | Fix preload with nested associationsRafael Mendonça França2019-02-261-0/+9
* | Fix `CollectionProxy#concat` to return self by alias it to `#<<`Yuya Tanaka2019-02-061-1/+2
* | Add regression test for has_many through record creationRyuta Kamizono2019-02-011-0/+4
* | Enable `Layout/SpaceAfterSemicolon` cop to avoid newly adding odd spacingRyuta Kamizono2018-12-131-3/+3
* | Merge pull request #34609 from kamipo/delete_all_on_collection_proxyRyuta Kamizono2018-12-041-3/+3
|\ \
| * | Ensure that `delete_all` on collection proxy returns affected countRyuta Kamizono2018-12-041-3/+3
* | | Reset scope after collection deleteGannon McGibbon2018-12-041-0/+32
|/ /
* | Fix handling of duplicates for `replace` on has_many-throughFlorian Ebeling2018-11-061-0/+10
* | Call `define_attribute_methods` before `assert_no_queries` to address CI flak...Ryuta Kamizono2018-10-091-0/+6
* | Remove `ignore_none: false` to assert no queries more strictlyRyuta Kamizono2018-10-051-1/+1
* | Use `assert_no_queries` not to ignore BEGIN/COMMIT queriesRyuta Kamizono2018-10-051-6/+6
* | ActiveRecord::Associations::Preloader should preload all instances of the sam...Nikita Sokolov2018-09-161-0/+9
|/
* Don't use `target=`Rafael Mendonça França2018-06-111-1/+1
* Use `-=` to change the update the collection on the associationRafael Mendonça França2018-06-111-1/+1
* Fix alias confliction when joining same table on has many through with left_j...Ryuta Kamizono2018-06-111-0/+4
* Initialization block is a part of `build_record`Ryuta Kamizono2018-06-041-0/+12
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-1/+1
* 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
|/
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-9/+9
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-16/+16
* 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
* | | Add test case for `collection_singular_ids` with symbol primary keysRyuta Kamizono2018-01-011-0/+8
* | | Fix all `s/trough/through/`Ryuta Kamizono2017-10-271-1/+1
* | | Fix typo `s/trough/through/`Ryuta Kamizono2017-10-271-1/+1
* | | fix initial countpavel2017-10-271-0/+4
* | | 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
* | | 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
* | | | Fix `reflection.association_primary_key` for `has_many` associationsRyuta Kamizono2017-08-131-14/+0
|/ / /
* | | 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 orderRyuta Kamizono2017-08-081-1/+1
|/ / /
* | | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* | | Add a test case for overwriting existing condition on associationsRyuta Kamizono2017-07-071-0/+7