aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/autosave_association_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
| * In a number of places in the tests, we only need to turn off transactional fi...Jon Leighton2011-01-111-10/+10
| * When assigning a has_one, if the new record fails to save, raise an errorJon Leighton2011-01-111-2/+2
| * Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-031-0/+7
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2010-12-201-4/+15
|\|
| * Only call save on belongs_to associations if the record has changed or any ne...Chiel Wester2010-12-161-0/+11
| * converting clone test to dup testAaron Patterson2010-11-231-4/+4
* | Call super setup in this test.Emilio Tagua2010-11-191-1/+2
* | Revert "IdentityMap - Adjustments to test cases"Emilio Tagua2010-11-191-6/+1
* | IdentityMap - Adjustments to test casesMarcin Raczkowski2010-11-191-1/+6
|/
* removing many unused variablesAaron Patterson2010-11-161-4/+2
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-43/+43
* has_one maintains the association with separate after_create/after_updateXavier Noria2010-10-221-0/+20
* get rid of the warning "+ after local variable is interpreted as binary opera...Xavier Noria2010-08-191-13/+13
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-1/+1
* missing requires addedSantiago Pastorino2010-07-261-0/+2
* Removing unnecessary code [#5192 state:resolved]Thiago Pradi2010-07-261-1/+7
* Revert "save on parent should not cascade to child unless child changed [#335...José Valim2010-07-211-18/+0
* save on parent should not cascade to child unless child changed [#3353 state:...Subba Rao Pasupuleti2010-07-181-0/+18
* Fix bug with rolling back frozen attributes.Brian Durand2010-06-181-1/+0
* Fixing test class names and refactor line in autosave associationCarlos Antonio da Silva2010-06-071-4/+4
* Use better assertion methods for testingNeeraj Singh2010-05-191-4/+4
* Make use of assert_equal to test equallity between object assert expects and ...Santiago Pastorino2010-05-161-2/+2
* Drop AR I18n deprecation and simple use errors.messages as fallback.José Valim2010-01-301-2/+2
* save(false) is gone, use save(:validate => false) instead.José Valim2010-01-171-6/+6
* Different nested validations should not be ignore [#3638 status:resolved]José Valim2010-01-141-0/+8
* Rollback the transaction when one of the autosave associations fails to save....Eloy Duran2010-01-081-1/+44
* Exclude unchanged records from the collection being considered for autosave. ...Lawrence Pit2010-01-081-9/+4
* Add failing test that triggers the stack overflowBryan Stearns2010-01-081-0/+9
* Errors messages are now moved from :activerecord.errors to simply :errors on ...José Valim2010-01-071-5/+3
* Be sure to convert namespaced names to we have 'Parrots name' instead of 'Par...José Valim2010-01-021-0/+1
* Make nested attributes behave like in 2.3.5 and add a sanity test for it with...José Valim2010-01-021-7/+23
* Make sure to not add autosave callbacks multiple times. [#3575 state:resolved]Eloy Duran2009-12-281-0/+29
* Define autosave association validation methods only when needed. [#3161 state...Alexey Kovyrin2009-09-121-0/+115
* During autosave, ignore records that already have been destroyed. [#2537 stat...Eloy Duran2009-09-121-0/+24
* Fix autosave association to skip validation if it is marked for destruction. ...Dmitry Polushkin2009-09-121-1/+6
* Explicitely setting `autosave => false' should override new_record autosaving...Eloy Duran2009-09-121-0/+64
* Don't cascade autosave validation to destroyed children. [#2761 state:resolved]Lance Ivy2009-09-121-0/+11
* Oracle saves empty string as NULLRaimonds Simanovskis2009-08-061-10/+36
* Merge branch 'master' into active_modelJoshua Peek2009-05-291-1/+28
|\
| * Add missing models and fixtures [#2673 state:resolved]Emilio Tagua2009-05-191-1/+6
| * Ensure the parent record is always saved when the child is invalid. [#2249 st...Eloy Duran2009-04-271-0/+22
* | Deprecate Error#on(attribute) in favour of Errors#[attribute]Pratik Naik2009-03-201-16/+16
* | Move all the Active Record validations to Active ModelPratik Naik2009-03-191-2/+2
|/
* Ensure AutosaveAssociation runs remove callbacks [#2146 state:resolved]Luca Guidi2009-03-121-0/+35
* Don't validate records of an :autosave association if they're marked for dest...Eloy Duran2009-02-271-3/+27
* Fixed that autosave should validate associations even if master is invalid [#...David Heinemeier Hansson2009-02-271-8/+442
* Also save :autosave enabled associations when #save! is used.Eloy Duran2009-02-061-1/+23