aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/autosave_association_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by"Guillermo Iguaran2013-01-181-7/+7
* User Rails 4 find_byrobertomiranda2013-01-181-7/+7
* Rename update_attributes method to update, keep update_attributes as an aliasAmparo Luna + Guillermo Iguaran2013-01-031-4/+4
* Rename the partial_updates config to partial_writesJon Leighton2012-10-191-1/+1
* remove duplicated require statements in AR test casesYves Senn2012-10-091-1/+0
* Revert "Use flat_map { } instead of map {}.flatten"Santiago Pastorino2012-10-051-2/+2
* Use flat_map { } instead of map {}.flattenSantiago Pastorino2012-10-051-2/+2
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-1/+1
* stop using class_attribute where methods/inheritance will suffice.Jon Leighton2012-07-131-16/+0
* CollectionProxy < RelationJon Leighton2012-05-111-2/+2
* find and replace deprecated keysJon Leighton2012-04-271-1/+1
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-1/+1
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-12/+12
* Fix build. It seems that the Mocha's behavior were changed.kennyj2012-04-251-2/+6
* Fix bug with autosave collection association on new record with a marked for ...Jared Armstrong2012-03-181-0/+10
* Remove IdentityMapCarlos Antonio da Silva2012-03-131-6/+2
* call superAaron Patterson2012-01-041-0/+10
* Test case and fix for rails/rails#3450Jan Varwig2011-11-271-0/+11
* Oops, this should have been in the last commit :zap:Jon Leighton2011-06-121-1/+1
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1