aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #25877 from kamipo/delegate_to_scope_rather_than_mergeMatthew Draper2017-02-211-5/+0
|\
| * No need to cache collection proxies separatelyRyuta Kamizono2016-12-251-5/+0
* | Add `Style/EmptyLinesAroundMethodBody` in `.rubocop.yml` and remove extra emp...Ryuta Kamizono2017-02-121-1/+0
* | Correct spellingBenjamin Fleischer2017-02-052-4/+4
* | Chain scope constraints should respect own table aliasRyuta Kamizono2017-02-011-0/+14
* | Merge pull request #27838 from kamipo/reload_destroyed_through_recordRafael França2017-01-311-0/+7
|\ \
| * | Reload `through_record` that has been destroyed in `create_through_record`Ryuta Kamizono2017-01-291-0/+7
* | | correctly check error messageyuuji.yaginuma2017-01-251-4/+11
|/ /
* | :warning: "Use assert_nil if expecting nil. This will fail in MT6."Akira Matsuda2017-01-182-3/+13
* | Reduce string objects by using \ instead of + or << for concatenating stringsAkira Matsuda2017-01-121-1/+1
* | Deprecate reflection class name to accept a classKir Shatrov2017-01-091-2/+4
* | Add failing test for where with joinsNick LaMuro2017-01-061-0/+17
* | Raise error when has_many through is defined before through associationChris Holmes2017-01-041-0/+8
* | Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-037-9/+9
* | Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-s...Rafael França2017-01-037-9/+9
|\ \
| * | Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-037-9/+9
* | | Remove deprecated support to passing arguments to `#select` when a block is p...Rafael Mendonça França2016-12-291-7/+0
* | | Remove deprecated force reload argument in association readersRafael Mendonça França2016-12-295-30/+0
* | | Remove deprecated i18n scopes in Active RecordRafael Mendonça França2016-12-292-39/+0
* | | Merge pull request #27442 from kamipo/fix_27434Eileen M. Uchitelle2016-12-271-1/+1
|\ \ \ | |_|/ |/| |
| * | Add a record to target before any callbacks loads the recordRyuta Kamizono2016-12-231-1/+1
* | | "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-255-11/+11
* | | Privatize unneededly protected methods in Active Record testsAkira Matsuda2016-12-241-1/+1
|/ /
* | Fix CI failure caused by #25227 and #25280 were merged at the same timeRyuta Kamizono2016-12-101-1/+1
* | Merge pull request #25280 from kamipo/prevent_range_error_for_belongs_to_asso...Sean Griffin2016-12-101-0/+14
|\ \
| * | Prevent `RangeError` for `belongs_to` associationsRyuta Kamizono2016-10-101-0/+14
* | | 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
* | Introduce `reload_<association>` reader for singular associations.Yves Senn2016-11-222-0/+20
* | Respect new records for `CollectionProxy#uniq`Ryuta Kamizono2016-11-133-2/+3
* | Fixes TypeError Exception when cache counter value equals nil (#26940)Daniel E. Garcia Shulman2016-11-021-0/+5
* | Allow `autosave: true` to be used with inverse ofSean Griffin2016-11-011-1/+1
* | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-2913-59/+59
* | Merge PR #19759Arthur Neves2016-10-281-0/+13
|\ \
| * | Fix for has_and_belongs_to_many & has_many_through associations while partial...Mehmet Emin İNAÇ2016-02-131-0/+13
* | | Fix HABTM associations join table resolver bug on constants and symbolsMehmet Emin İNAÇ2016-10-271-1/+13
* | | let Regexp#match? be globally availableXavier Noria2016-10-271-1/+0
* | | Fix regression caused due to removal of select method from CollectionAssociationPrathamesh Sonpatki2016-10-221-0/+7
| |/ |/|
* | Don't skip in-memory insertion of associations when loaded in validateSean Griffin2016-09-291-3/+31
* | improve error message when include assertions failMichael Grosser2016-09-168-69/+69
* | Ensure that inverse associations are set before running callbacksSean Griffin2016-08-311-0/+27
* | Don't unnecessarily load a belongs_to when saving.James Coleman2016-08-261-0/+6
* | Merge pull request #24099 from k0kubun/preserve-readonlyRafael Mendonça França2016-08-181-2/+20
|\ \
| * | Preserve readonly flag only for readonly associationTakashi Kokubun2016-07-301-2/+20
* | | Merge pull request #26009 from kamipo/fix_inconsistent_finder_methods_signatureRafael França2016-08-171-9/+0
|\ \ \
| * | | Fix inconsistent the signature of finder methods for collection associationRyuta Kamizono2016-08-161-9/+0
* | | | Merge pull request #26021 from kamipo/finder_bang_method_should_call_non_bang...Rafael França2016-08-171-0/+40
|\ \ \ \
| * | | | Finder bang method should call non bang methodRyuta Kamizono2016-08-161-0/+40
| |/ / /
* / / / Fix count which would sometimes force a DISTINCTMaxime Lapointe2016-08-161-8/+17
|/ / /