aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/autosave_association.rb
Commit message (Expand)AuthorAgeFilesLines
* eliminate alias_method_chain from ActiveRecordwycats2010-05-091-4/+2
* save(false) is gone, use save(:validate => false) instead.José Valim2010-01-171-5/+5
* Different nested validations should not be ignore [#3638 status:resolved]José Valim2010-01-141-1/+2
* Renamed AssociationReflection #collection_association? to #collection?.Eloy Duran2010-01-081-1/+1
* Rollback the transaction when one of the autosave associations fails to save....Eloy Duran2010-01-081-4/+10
* Exclude unchanged records from the collection being considered for autosave. ...Lawrence Pit2010-01-081-3/+3
* Moved the validation logic to the association reflection and refactored autos...Eloy Duran2010-01-071-23/+16
* Don't use strings for callbacks, as these will be evaled. Rather use symbols,...Eloy Duran2010-01-071-2/+2
* Cleanup some code in nested_attributes.rb, autosave_association.rb, and assoc...Eloy Duran2010-01-071-2/+1
* Make nested attributes behave like in 2.3.5 and add a sanity test for it with...José Valim2010-01-021-1/+1
* Make sure to not add autosave callbacks multiple times. [#3575 state:resolved]Eloy Duran2009-12-281-14/+26
* Add new finder methods to association collection.Pratik Naik2009-12-271-2/+2
* Removed some superfluous conditionals from the autosave association validatio...Eloy Duran2009-09-121-5/+3
* Define autosave association validation methods only when needed. [#3161 state...Alexey Kovyrin2009-09-121-3/+10
* During autosave, ignore records that already have been destroyed. [#2537 stat...Eloy Duran2009-09-121-2/+4
* Fix has_one with foreign_key and primary_key association bug which caused the...Graeme Porteous2009-09-121-3/+6
* Fix autosave association to skip validation if it is marked for destruction. ...Dmitry Polushkin2009-09-121-7/+5
* Explicitely setting `autosave => false' should override new_record autosaving...Eloy Duran2009-09-121-3/+3
* Don't cascade autosave validation to destroyed children. [#2761 state:resolved]Lance Ivy2009-09-121-0/+2
* Add primary_key option to belongs_to associationSzymon Nowak2009-07-151-1/+2
* Merge branch 'master' into active_modelJoshua Peek2009-05-291-12/+15
|\
| * Break up DependencyModule's dual function of providing a "depend_on" DSL and ...Joshua Peek2009-05-281-1/+1
| * Use DependencyModule for included hooks in ActiveRecordBryan Helmkamp2009-05-111-7/+6
| * Ensure the parent record is always saved when the child is invalid. [#2249 st...Eloy Duran2009-04-271-5/+9
* | Move all the Active Record validations to Active ModelPratik Naik2009-03-191-1/+1
|/
* Ensure AutosaveAssociation runs remove callbacks [#2146 state:resolved]Luca Guidi2009-03-121-1/+1
* Fixed autosave checks on objects with hm:t in :include [#2213 state:resolved]Will Bryant2009-03-121-1/+1
* Don't validate records of an :autosave association if they're marked for dest...Eloy Duran2009-02-271-4/+7
* Fixed that autosave should validate associations even if master is invalid [#...David Heinemeier Hansson2009-02-271-58/+179
* Also save :autosave enabled associations when #save! is used.Eloy Duran2009-02-061-0/+12
* Add support for nested object forms to ActiveRecord and the helpers in Action...Eloy Duran2009-02-011-0/+213