aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/autosave_association_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* `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
* Ignore SCHEMA queries when asserting no queriesAkira Matsuda2014-08-281-4/+4
* Revert "Revert "Merge pull request #8313 from alan/only_save_changed_has_one_...Rafael Mendonça França2014-05-201-0/+13
* Revert "Merge pull request #8313 from alan/only_save_changed_has_one_objects"Rafael Mendonça França2014-03-251-13/+0
* Remove mocking on save, when not necessaryArthur Neves2014-03-111-3/+1
* Merge pull request #8313 from alan/only_save_changed_has_one_objectsRafael Mendonça França2014-03-101-0/+15
|\
| * Save has_one associations only if record has changesAlan Kennedy2013-10-311-0/+15
* | Cleanup Parrot after each test.Guo Xiang Tan2014-03-091-7/+3
* | Replace map.flatten with flat_map in activerecordErik Michaels-Ober2014-03-031-2/+2
* | adding a test for #14106Aaron Patterson2014-02-201-0/+25
* | Add test case for autosave HasMany with accepts_nested_attributes.Lauro Caetano2014-02-081-0/+29
* | pass `habtm :autosave` to underlying `hm:t` association. Closes #13923.Yves Senn2014-02-031-7/+26
* | Ensure AR #second, #third, etc. finders work through associationsJason Meller2014-01-211-5/+5
* | tests without transactional fixtures need to cleanup afterwards.Yves Senn2014-01-161-0/+7
|/
* Squashed commit of the following:Aaron Patterson2013-10-011-4/+0
* Do not re-save destroyed association on saving parent objectPaul Nikitochkin2013-07-151-0/+7
* destroys association records before saving/inserting new association recordsJohnny Holton2013-05-021-3/+19
* Fixed typos in ActiveRecordPrathamesh Sonpatki2013-03-281-2/+2