aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/autosave_association_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #36210 from vishaltelangre/raise-record-invalid-when-assoc...Rafael França2019-06-241-0/+41
|\
| * Fix: ActiveRecord::RecordInvalid is not raised when an associated record fail...Vishal Telangre2019-05-101-0/+41
* | Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-2/+0
* | Give up filling schema cache before `assert_no_queries`Ryuta Kamizono2019-05-221-16/+4
|/
* Fix unintended autosave on has_one through associationSergiy Kukunin2019-03-221-6/+31
* Fixed autosave association test typoShailesh Kalamkar2019-03-091-1/+1
* Call `define_attribute_methods` before `assert_no_queries` to address CI flak...Ryuta Kamizono2018-10-091-0/+16
* Remove `ignore_none: false` to assert no queries more strictlyRyuta Kamizono2018-10-051-4/+4
* Use `assert_no_queries` not to ignore BEGIN/COMMIT queriesRyuta Kamizono2018-10-051-3/+3
* 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