aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Don't rely on subsecond precision being applied in testsSean Griffin2015-09-231-1/+3
* Merge pull request #21581 from ronakjangir47/restrict_with_errorYves Senn2015-09-171-0/+19
|\
| * `restrict_with_error` message will now respect owner’s human name in any lo...Ronak Jangir2015-09-121-0/+19
|/
* HasManyAssociation: moved half of counter cache code to reflectionBogdan Gusiev2015-09-031-1/+1
* Merge pull request #19683 from tristang/require-option-for-counter-cacheRafael Mendonça França2015-08-131-0/+21
|\
| * Add tests for associations without counter_cacheTristan Gamilis2015-04-091-0/+21
* | Use memoization for collection associations ids readerMehmet Emin İNAÇ2015-08-031-0/+8
* | `destroy` shouldn't raise when child associations fail to saveSean Griffin2015-07-241-0/+30
* | Deprecate and rename the keys for association restrict_dependent_destroyRoque Pinel2015-07-201-0/+20
* | Silence deprecation warning from force reloadPrem Sichanugrist2015-07-161-23/+23
* | Deprecate force association reload by passing truePrem Sichanugrist2015-07-151-0/+6
* | AR::RecordNotSaved & RecordNotDestroyed should include an error messageYuki Nishijima2015-05-011-1/+2
* | Rename association option :class to :anonymous_classAndrew White2015-04-211-4/+4
|/
* Fix a regression introduced by removing unnecessary db call when replacingShintaro Kojima2015-04-041-0/+2
* Reuse the CollectionAssociation#reader proxy cache if the foreign key is pres...Ben Woosley2015-03-151-0/+12
* Preserve Array#take(n) behaviour of HasManyAssociationAkira Matsuda2015-02-281-0/+13
* Merge pull request #17297 from rebyn/fix/17161-remove-objs-from-has_many-upda...Rafael Mendonça França2015-02-251-0/+25
|\
| * Add specs for adding-to/clear has_many collections’s behavior on `updated_at`Tu Hoang2014-10-301-0/+25
* | Merge branch 'rm-take' into 4-1-stableRafael Mendonça França2015-02-201-1/+29
* | Optimize none? and one? relation query methods to use LIMIT and COUNT.Eugene Gilburg2015-02-121-0/+76
* | `WhereClause#predicates` does not need to be publicSean Griffin2015-01-271-4/+4
* | Remove all references to `where_values` in testsSean Griffin2015-01-251-4/+4
* | after_commit runs after transactions with non-joinable parentsbrainopia2015-01-161-1/+0
* | Share foreign_key_present? implementation in _has_ associationsbrainopia2014-12-311-35/+51