Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make sure to not add autosave callbacks multiple times. [#3575 state:resolved] | Eloy Duran | 2009-12-28 | 1 | -14/+26 | |
| | | | | This makes sure that, in a HABTM association, only one join record is craeted. | |||||
* | Add new finder methods to association collection. | Pratik Naik | 2009-12-27 | 1 | -2/+2 | |
| | ||||||
* | Removed some superfluous conditionals from the autosave association ↵ | Eloy Duran | 2009-09-12 | 1 | -5/+3 | |
| | | | | | | validation methods. Which are unneeded now that we only define them when needed. | |||||
* | Define autosave association validation methods only when needed. [#3161 ↵ | Alexey Kovyrin | 2009-09-12 | 1 | -3/+10 | |
| | | | | | | state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | |||||
* | During autosave, ignore records that already have been destroyed. [#2537 ↵ | Eloy Duran | 2009-09-12 | 1 | -2/+4 | |
| | | | | state:resolved] | |||||
* | Fix has_one with foreign_key and primary_key association bug which caused ↵ | Graeme Porteous | 2009-09-12 | 1 | -3/+6 | |
| | | | | | | | | the associated object being lost when saving the owner. [#1756 state:resolved] Mixed in a bit from patch by ransom-briggs. [#2813 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | |||||
* | Fix autosave association to skip validation if it is marked for destruction. ↵ | Dmitry Polushkin | 2009-09-12 | 1 | -7/+5 | |
| | | | | | | [#2064 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | |||||
* | Explicitely setting `autosave => false' should override new_record ↵ | Eloy Duran | 2009-09-12 | 1 | -3/+3 | |
| | | | | | | autosaving. [#2214 state:resolved] Original author is Jacob. | |||||
* | Don't cascade autosave validation to destroyed children. [#2761 state:resolved] | Lance Ivy | 2009-09-12 | 1 | -0/+2 | |
| | | | | Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | |||||
* | Add primary_key option to belongs_to association | Szymon Nowak | 2009-07-15 | 1 | -1/+2 | |
| | | | | | | [#765 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Merge branch 'master' into active_model | Joshua Peek | 2009-05-29 | 1 | -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 Peek | 2009-05-28 | 1 | -1/+1 | |
| | | | | | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern. | |||||
| * | Use DependencyModule for included hooks in ActiveRecord | Bryan Helmkamp | 2009-05-11 | 1 | -7/+6 | |
| | | ||||||
| * | Ensure the parent record is always saved when the child is invalid. [#2249 ↵ | Eloy Duran | 2009-04-27 | 1 | -5/+9 | |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | | Move all the Active Record validations to Active Model | Pratik Naik | 2009-03-19 | 1 | -1/+1 | |
|/ | ||||||
* | Ensure AutosaveAssociation runs remove callbacks [#2146 state:resolved] | Luca Guidi | 2009-03-12 | 1 | -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 Bryant | 2009-03-12 | 1 | -1/+1 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Don't validate records of an :autosave association if they're marked for ↵ | Eloy Duran | 2009-02-27 | 1 | -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 Hansson | 2009-02-27 | 1 | -58/+179 | |
| | | | | [#1930 status:committed] | |||||
* | Also save :autosave enabled associations when #save! is used. | Eloy Duran | 2009-02-06 | 1 | -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 Duran | 2009-02-01 | 1 | -0/+213 | |
ActionPack Signed-Off-By: Michael Koziarski <michael@koziarski.com> [#1202 state:committed] |