aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
| |/
* / Add three new rubocop rulesRafael Mendonça França2016-08-161-11/+11
|/
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-3/+3
* modernizes hash syntax in activerecordXavier Noria2016-08-061-112/+112
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-170/+170
* 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
* Add `exists?` and `update_all` to `CollectionProxy` for respects an associati...Ryuta Kamizono2016-07-201-0/+20
* Refactored test `HasManyAssociationsTest#test_do_not_call_callbacks_for_delet...bogdanvlviv2016-07-171-1/+2
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-2/+2
* rename to 'second_to_last' and 'third_to_last'Brian Christian2016-02-101-4/+4
* allow Array.penultimate and Array.antepenultiate access methodsBrian Christian2016-02-091-0/+10
* Typos in AR testsAkira Matsuda2016-02-041-1/+1
* Bugfix collection association #create method …Bogdan Gusiev2015-11-231-0/+6
* Except keys of `build_record`'s argument from `create_scope` in initialize_at...yui-knk2015-11-161-1/+14
* Reorder application of has_many association constraints.jbranchaud2015-10-191-0/+20