aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_through_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* | | 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
* | deprecate `Relation#uniq` use `Relation#distinct` instead.Yves Senn2015-05-261-1/+1
* | remove duplicate test.Yves Senn2015-05-081-10/+2
* | Rename association option :class to :anonymous_classAndrew White2015-04-211-8/+8
|/
* Properly create through records when called with `where`Sean Griffin2015-02-261-0/+6
* Merge pull request #15309 from iantropov/issue_12698_build_throughRafael Mendonça França2015-01-021-1/+10
|\
| * Add setting of FK for throgh associations while buildingIvan Antropov2014-05-251-1/+10
* | Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* | Fix a bug where AR::RecordNotSaved loses error messagesYuki Nishijima2014-11-271-2/+5
* | Build fix when running in isolationArun Agrawal2014-11-141-0/+1
* | Do not mark object as persisted after an association is savedRafael Mendonça França2014-09-051-19/+0
* | Ignore SCHEMA queries when asserting no queriesAkira Matsuda2014-08-281-1/+1
* | Deprecate automatic counter caches on has_many :throughSean Griffin2014-06-261-5/+5
* | Merge pull request #15728 from sgrif/sg-double-save-hm-tRafael Mendonça França2014-06-191-1/+20
|\ \
| * | Don't save through records twiceSean Griffin2014-06-171-0/+19
* | | Don't include inheritance column in the through_scope_attributesNat Budin2014-06-171-0/+8
|/ /
* / Through associations should set both parent ids on join modelsSean Griffin2014-06-131-0/+13
|/
* clear shouldnt fire callbacks so remove order testeileencodes2014-04-281-3/+0
* Perfer to define methods instead of calling testRafael Mendonça França2014-04-221-4/+4
* Fix syntax errorRafael Mendonça França2014-04-221-0/+1
* Merge pull request #14573 from habermann24/has_many_through_fixRafael Mendonça França2014-04-221-0/+11
|\
| * Properly handle scoping with has_many :through. Fixes #14537.Jan Habermann2014-04-031-0/+12
* | Merge pull request #12829 from iantropov/issue_insert_via_hmt_scope_3548Rafael Mendonça França2014-04-101-1/+13
|\ \ | |/ |/|