aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/autosave_association.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into active_modelJoshua Peek2009-05-291-12/+15
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: activemodel/lib/active_model/core.rb activemodel/test/cases/state_machine/event_test.rb activemodel/test/cases/state_machine/state_transition_test.rb activerecord/lib/active_record/validations.rb activerecord/test/cases/validations/i18n_validation_test.rb activeresource/lib/active_resource.rb activeresource/test/abstract_unit.rb
| * Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵Joshua Peek2009-05-281-1/+1
| | | | | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
| * 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 ↵Eloy Duran2009-04-271-5/+9
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | 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
| | | | | Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed autosave checks on objects with hm:t in :include [#2213 state:resolved]Will Bryant2009-03-121-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Don't validate records of an :autosave association if they're marked for ↵Eloy Duran2009-02-271-4/+7
| | | | | | destruction. [#2064 status:resolved] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fixed that autosave should validate associations even if master is invalid ↵David Heinemeier Hansson2009-02-271-58/+179
| | | | [#1930 status:committed]
* Also save :autosave enabled associations when #save! is used.Eloy Duran2009-02-061-0/+12
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1877 state:committed]
* Add support for nested object forms to ActiveRecord and the helpers in ↵Eloy Duran2009-02-011-0/+213
ActionPack Signed-Off-By: Michael Koziarski <michael@koziarski.com> [#1202 state:committed]