aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/autosave_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Rename AssociationProxy#loaded to loaded! as it mutates the associationJon Leighton2011-01-301-1/+1
* Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-031-0/+1
* Rename AssociationReflection#primary_key_name to foreign_key, since the optio...Jon Leighton2010-12-311-3/+3
* Only call save on belongs_to associations if the record has changed or any ne...Chiel Wester2010-12-161-1/+1
* Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584bJosé Valim2010-11-281-7/+7
* fix typoRay Baxter2010-11-221-1/+1
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-7/+7
* Refactoring: replace the mix of variables like @finder_sql, @counter_sql, etc...Jon Leighton2010-10-301-2/+2
* has_one maintains the association with separate after_create/after_updateXavier Noria2010-10-221-1/+10
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-5/+5
* Removing most of the symbol to proc usage in Active RecordPrem Sichanugrist2010-08-131-1/+1
* be more precise re :validate and :autosaveXavier Noria2010-08-121-2/+1
* revises some autosave docs, style and contentXavier Noria2010-08-121-57/+22
* applied guidelines to "# =>"Paco Guzman2010-08-121-5/+5
* adding more documentation for autosave optionNeeraj Singh2010-08-091-13/+37
* adding the missing closing tagNeeraj Singh2010-07-311-1/+1
* fixing documentation just a little bitNeeraj Singh2010-07-311-20/+14
* Removing unnecessary code [#5192 state:resolved]Thiago Pradi2010-07-261-4/+0
* Revert "save on parent should not cascade to child unless child changed [#335...José Valim2010-07-211-3/+1
* save on parent should not cascade to child unless child changed [#3353 state:...Subba Rao Pasupuleti2010-07-181-1/+3
* Add module_eval missing file_name and line_number args [#4712 state:resolved]Evgeniy Dolzhenko2010-06-261-2/+2
* Adds title and basic description where needed.Rizwan Reza2010-06-151-0/+2
* Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-111-1/+1
* Make the logic for nested_records_changed_for_autosave? simpler.José Valim2010-06-071-9/+5
* Fixing test class names and refactor line in autosave associationCarlos Antonio da Silva2010-06-071-1/+1
* Nested records (re: autosave) are now updated even when the intermediate pare...Ian White2010-05-181-1/+22
* 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