aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
|/ / /
* | | Merge pull request #26097 from Dagnan/fix_recordnotfound_args_rebasedRafael França2016-08-161-0/+12
|\ \ \
| * | | When calling association.find RecordNotFound is now raised with the same argu...Michel Pigassou2016-08-131-0/+12
* | | | Merge pull request #26162 from kamipo/take_respects_dirty_targetRafael França2016-08-161-4/+8
|\ \ \ \
| * | | | `CollectionProxy#take` should respect dirty targetRyuta Kamizono2016-08-141-4/+8
| |/ / /
* / / / Add three new rubocop rulesRafael Mendonça França2016-08-1615-127/+127
|/ / /
* | | Fix broken alignments caused by auto-correct commit 411ccbdRyuta Kamizono2016-08-101-1/+2
* | | Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-075-6/+0
* | | applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* | | normalizes indentation and whitespace across the projectXavier Noria2016-08-062-129/+129
* | | remove redundant curlies from hash argumentsXavier Noria2016-08-062-7/+5
* | | modernizes hash syntax in activerecordXavier Noria2016-08-0617-671/+671
* | | applies new string literal convention in activerecord/testXavier Noria2016-08-0620-961/+961
|/ /
* | Merge pull request #25767 from kamipo/association_name_is_the_same_as_join_ta...Rafael França2016-07-271-0/+6
|\ \
| * | Correctly return `associated_table` when `associated_with?` is trueRyuta Kamizono2016-07-101-0/+6
* | | Add an assertion to the tests that should be loaded the target.Ryuta Kamizono2016-07-271-0/+38
* | | Make `force_signal37_to_load_all_clients_of_firm` to privateRyuta Kamizono2016-07-261-4/+6
* | | adds missing requiresXavier Noria2016-07-241-0/+1
* | | systematic revision of =~ usage in ARXavier Noria2016-07-232-6/+6
* | | Add `exists?` and `update_all` to `CollectionProxy` for respects an associati...Ryuta Kamizono2016-07-201-0/+20
* | | Merge pull request #25578 from kamipo/move_warning_about_composite_primary_ke...Rafael França2016-07-201-1/+1
|\ \ \
| * | | Move the warning about composite primary key to `AttributeMethods::PrimaryKey`Ryuta Kamizono2016-07-021-1/+1
| |/ /
* / / Refactored test `HasManyAssociationsTest#test_do_not_call_callbacks_for_delet...bogdanvlviv2016-07-171-1/+2
|/ /
* | Fix `calculate` with a string value in `from` and eager loadingRyuta Kamizono2016-06-131-0/+4
* | Allow Oracle bind parameter syntax `:a1`Yasuo Honda2016-06-081-1/+1
* | Exists shouldn't error when used with `includes`Sean Griffin2016-05-301-0/+1
* | Fix `has_one` `enum` `where` queriesJon Moss2016-05-261-0/+18
* | Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-182-3/+3