aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_through_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* | | Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | | ActiveRecord: do not create "has many through" records that have been removedTobias Kraze2017-06-281-0/+11
* | | Make helper methods in tests to privateRyuta Kamizono2017-05-191-18/+19
* | | Add `Style/EmptyLinesAroundMethodBody` in `.rubocop.yml` and remove extra emp...Ryuta Kamizono2017-02-121-1/+0
* | | Chain scope constraints should respect own table aliasRyuta Kamizono2017-02-011-0/+14
* | | Raise error when has_many through is defined before through associationChris Holmes2017-01-041-0/+8
* | | Remove deprecated force reload argument in association readersRafael Mendonça França2016-12-291-6/+0
* | | "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-3/+3
* | | Resolve association class correctly when assigning ids on a through associationMatthew Draper2016-12-091-0/+7
* | | Add test for collection *_ids= setter when association primary key setDominic Cleal2016-11-241-0/+14
* | | Restore RecordNotFound when *_ids= can't find records by IDDominic Cleal2016-11-241-1/+2
* | | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-5/+5
* | | improve error message when include assertions failMichael Grosser2016-09-161-24/+24
* | | Add three new rubocop rulesRafael Mendonça França2016-08-161-6/+6
* | | modernizes hash syntax in activerecordXavier Noria2016-08-061-76/+76
* | | applies new string literal convention in activerecord/testXavier Noria2016-08-061-117/+117
* | | Rename test methodMolchanov Andrey2016-05-121-1/+1
| |/ |/|
* | Fix undefined method `owners' for NullPreloader:ClassLadislav Smola2016-04-061-0/+14
* | Merge pull request #20997 from himesh-r/issue-20995Arthur Neves2016-02-021-1/+1
|\ \
| * | Changed id-writer to save join table records based on association primary key...Himesh2016-02-021-1/+1
* | | Fix merge conflicts from #19501Sean Griffin2015-10-291-2/+2
|\ \ \
| * | | DRY up STI subclass logicCody Cutrer2015-03-241-2/+2
| | |/ | |/|
* | | Removed mocha from Active Record Part 1Ronak Jangir2015-08-251-5/+7
* | | Skip statement cache on through association readerRafael Mendonça França2015-08-121-0/+28
| |/ |/|
* | Silence deprecation warning from force reloadPrem Sichanugrist2015-07-161-20/+20
* | Deprecate force association reload by passing truePrem Sichanugrist2015-07-151-0/+6
* | Correct through associations using scopesSean Griffin2015-06-301-0/+7