aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove extra `.merge!(order: "id")` for `Relation#first` in testsRyuta Kamizono2017-07-131-30/+27
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-021-0/+1
|\
| * Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | Merge pull request #29631 from kamipo/should_be_clear_association_idsMatthew Draper2017-07-011-0/+5
|\ \
| * | Should be clear `@association_ids` when joined newly associated recordRyuta Kamizono2017-06-301-0/+5
| |/
* | Merge pull request #28808 from fschwahn/fix-polymorphic-automic-inverseMatthew Draper2017-07-011-0/+14
|\ \ | |/ |/|
| * Add regression test for setting inverse instances on normal & polymorphic rel...Fabian Schwahn2017-04-201-0/+14
* | Merge pull request #29611 from kamipo/add_test_case_for_unscoping_default_scopeRafael França2017-06-281-2/+3
|\ \
| * | Add a test case for unscoping `default_scope` in associationsRyuta Kamizono2017-06-291-2/+3
* | | Use `reload` in `test_find_first_after_reload`Ryuta Kamizono2017-06-281-10/+10
|/ /
* | Move clearing of @offsets cache to reset_scopeJohn Hawthorn2017-06-211-12/+21
* | Clear offset cache on CollectionProxy reset/reloadJohn Hawthorn2017-06-201-0/+26
* | Correct a has_many association testKoichi ITO2017-06-011-1/+1
* | Fix association with extension issuesRyuta Kamizono2017-05-281-1/+9
* | Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-271-3/+3
* | Merge pull request #28885 from kamipo/remove_useless_test_caseRafael França2017-04-261-5/+0
|\ \
| * | Remove useless test caseRyuta Kamizono2017-04-261-5/+0
* | | Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-04-261-3/+3
|/ /
* | `respond_to_missing?` should be privateRyuta Kamizono2017-04-221-1/+0
* | Prevent double firing the before save callback of new object when the parent ...Ryuta Kamizono2017-04-211-2/+16
|/
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-261-3/+3
* Use `load` rather than `collect` for force loadingRyuta Kamizono2017-03-191-3/+3
* Fix select with block doesn't return newly built records in has_many associationRyuta Kamizono2017-03-091-0/+6
* Revert "Dupping a CollectionProxy should dup the load_target"eileencodes2017-02-281-8/+0
* Dupping a CollectionProxy should dup the load_targeteileencodes2017-02-281-0/+8
* 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
* | Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-031-3/+3
* | Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-s...Rafael França2017-01-031-3/+3
|\ \
| * | Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-031-3/+3
* | | 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-291-6/+0
* | | Remove deprecated i18n scopes in Active RecordRafael Mendonça França2016-12-291-20/+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-251-1/+1
|/
* Respect new records for `CollectionProxy#uniq`Ryuta Kamizono2016-11-131-0/+1
* Fixes TypeError Exception when cache counter value equals nil (#26940)Daniel E. Garcia Shulman2016-11-021-0/+5
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-4/+4
* 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-161-1/+1
* 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
* | Finder bang method should call non bang methodRyuta Kamizono2016-08-161-0/+40
|/
* 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
| |/