aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/autosave_association_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* expectations change when using IM. Change oracle tests to reflect thatAaron Patterson2011-02-221-2/+6
* Use proper objects to do the work to build the associations (adding methods, ...Jon Leighton2011-02-211-4/+4
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-211-1/+1
|\
| * Tpyo: fixing several cases of the theNicholas Rowe2011-02-191-1/+1
* | fixes a merge conflictXavier Noria2011-02-191-10/+0
|/
* merges docrailsXavier Noria2011-02-181-0/+10
|\
| * Fix Typos: remove several occurences of the theNicholas Rowe2011-02-171-1/+1
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-181-1/+1
|\ \
| * | Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-1/+1
* | | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-151-85/+189
|\| |
| * | Refactor the implementations of AssociatioCollection#delete and #destroy to b...Jon Leighton2011-02-071-1/+1
| * | Make record.association.destroy(*records) on habtm and hm:t only delete recor...Jon Leighton2011-02-071-72/+169
| |/