aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/autosave_association_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #33378 from numbata/subclass-redefine-autosave-callbacksRafael Mendonça França2018-09-131-0/+19
|\
| * Allow subclasses to redefine autosave callbacks for associated recordsAndrey Subbota2018-07-271-0/+19
* | Fix regression setting children record in parent before_save callback.Guo Xiang Tan2018-09-031-1/+14
|/
* Reuse existing model for testing duplicated children recordsRyuta Kamizono2018-06-071-14/+12
* Fix parent record should not get saved with duplicate children recordsSantosh Wadghule2018-05-281-0/+18
* Rollback parent transaction when children fails to update (#32796)Guillaume Malette2018-05-221-0/+12
* assert_not_calledutilum2018-04-261-16/+26
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-19/+19
* Deprecate update_attributes and update_attributes!Eddie Lebow2018-02-171-1/+1
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-8/+8
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-142/+142
* Use respond_to test helpersDaniel Colson2018-01-251-2/+2
* "models/reader" is no longer used in `autosave_association_test.rb`Ryuta Kamizono2017-08-281-1/+0
* Address `test_assign_ids_for_through_a_belongs_to` failureRyuta Kamizono2017-08-281-8/+8
* Address `test_after_save_callback_with_autosave` failureYasuo Honda2017-08-241-0/+4
* Merge remote-tracking branch 'origin/master' into unlock-minitestRafael Mendonça França2017-08-011-0/+2
|\
| * Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
| * Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| * Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | Fix one more test randomly failing due to array ordering issue on PG adapterPrathamesh Sonpatki2017-04-261-2/+2
|/
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-1/+1
* Should not update children when the parent creation with no reasonRyuta Kamizono2016-12-291-0/+8
* Fix Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-281-4/+4
* Improve test without using anonymous classesEdgars Beigarts2016-12-061-27/+24
* Reload association scope inside autosaved associationsEdgars Beigarts2016-12-021-0/+27
* Allow `autosave: true` to be used with inverse ofSean Griffin2016-11-011-0/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* Always store errors details information with symbolsRafael Mendonça França2016-09-191-5/+5
* improve error message when include assertions failMichael Grosser2016-09-161-3/+3
* Change require order to come `require "models/post"` before `require "models/...Yasuo Honda2016-09-021-1/+1
* Add three new rubocop rulesRafael Mendonça França2016-08-161-13/+13
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-9/+9
* modernizes hash syntax in activerecordXavier Noria2016-08-061-66/+66
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-150/+150
* Fixes funny spellingRyan T. Hosford2016-02-261-2/+2
* Fixed setting errors details on autosaved associationsWojciech Wnętrzak2015-10-281-0/+47
* Merge pull request #19686 from tsun1215/index_errorsSean Griffin2015-10-261-0/+36
|\
| * Errors can be indexed with nested attributesMichael Probber2015-04-171-0/+36
* | Correctly ignore `mark_for_destruction` without `autosave`Sean Griffin2015-07-201-0/+7
* | Ensure cyclic associations w/ autosave don't cause duplicate errorsSean Griffin2015-07-181-0/+8
* | Silence deprecation warning from force reloadPrem Sichanugrist2015-07-161-10/+14
* | Rename association option :class to :anonymous_classAndrew White2015-04-211-1/+1
* | Autosave existing records on HMT associations when the parent is newSean Griffin2015-04-181-0/+10
|/
* Closes rails/rails#18864: Renaming transactional fixtures to transactional testsBrandon Weiss2015-03-161-13/+13
* Fix a state leak in `autosave_association_test`Sean Griffin2015-01-301-0/+5
* Fix potenital stack level too deep with autosave or validationMiklos Fazkeas2015-01-041-0/+10
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-11/+11
* Build fix when running in isolationArun Agrawal2014-11-141-0/+1
* Autosave callbacks shouldn't be `after_save`Agis-2014-10-131-0/+9
* Don't autosave unchanged has_one through recordsAlan Kennedy2014-09-151-0/+24