aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add test case for `collection.size` with dirty targetRyuta Kamizono2018-04-211-0/+10
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-2/+2
* Fix intermittent CI failure due to setting explicit `person.id = 10`Ryuta Kamizono2018-03-301-4/+0
* Association scope's own order should be prioritized over through scope's orderRyuta Kamizono2018-02-181-0/+7
* Deprecate update_attributes and update_attributes!Eddie Lebow2018-02-171-6/+6
* Remove extra whitespaceDaniel Colson2018-01-251-14/+14
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-10/+10
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-64/+64
* Merge pull request #27561 from fishbrain/count-all-in-has-many-associationRyuta Kamizono2018-01-031-0/+8
|\
| * Use `count(:all)` in HasManyAssociation#count_recordsKlas Eskilson2017-02-071-0/+8
* | Bugfix foreign key replacement in inverse associationBogdan Gusiev2017-12-271-0/+9
* | Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed moreRyuta Kamizono2017-12-121-1/+1
* | Set counter caches to correct values in fixturesBogdan Gusiev2017-11-081-1/+1
* | Add deterministic sorting order for `test_taking_with_a_number`Ryuta Kamizono2017-08-181-1/+9
* | Fix `reflection.association_primary_key` for `has_many` associationsRyuta Kamizono2017-08-131-3/+14
* | Merge remote-tracking branch 'origin/master' into unlock-minitestRafael Mendonça França2017-08-011-30/+29
|\ \
| * | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
| * | Remove extra `.merge!(order: "id")` for `Relation#first` in testsRyuta Kamizono2017-07-131-30/+27
* | | Merge branch 'master' into unlock-minitestKasper Timm Hansen2017-07-151-2/+57
|\| |
| * | 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
* | | | Merge branch 'master' into unlock-minitestRafael Mendonça França2017-06-021-2/+10
|\| | |
| * | | Correct a has_many association testKoichi ITO2017-06-011-1/+1
| * | | Fix association with extension issuesRyuta Kamizono2017-05-281-1/+9
* | | | Merge branch 'master' into unlock-minitestKasper Timm Hansen2017-05-291-3/+3
|\| | |
| * | | Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-271-3/+3
* | | | Fix the random failure of `test_create_resets_cached_counters`Prathamesh Sonpatki2017-04-261-0/+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