aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/autosave_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Inverse instance should not be reloaded during autosave if called in validationAnmol Chopra2017-11-271-0/+3
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Use mattr_accessor default: option throughout the projectGenadi Samokovarov2017-06-031-2/+1
* Merge pull request #29074 from kamipo/remove_returning_true_in_internal_callb...Kasper Timm Hansen2017-05-281-8/+1
|\
| * Remove returning true in internal callbacksRyuta Kamizono2017-05-141-8/+1
* | Remove unneeded `association.respond_to?(:reset_scope)`Ryuta Kamizono2017-05-171-1/+1
|/
* Don't attempt to create a new record that was already created.Isaac Betesh2017-04-201-0/+5
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-2/+2
* Reload association scope inside autosaved associationsEdgars Beigarts2016-12-021-3/+3
* Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call...Sean Griffin2016-11-011-2/+2
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-3/+3
* Always store errors details information with symbolsRafael Mendonça França2016-09-191-10/+12
* Don't unnecessarily load a belongs_to when saving.James Coleman2016-08-261-1/+3
* modernizes hash syntax in activerecordXavier Noria2016-08-061-3/+3
* A small documentation fix about autosave associations [ci skip]Mehmet Emin İNAÇ2016-03-051-1/+1
* Fixed setting errors details on autosaved associationsWojciech Wnętrzak2015-10-281-3/+18
* Merge pull request #19686 from tsun1215/index_errorsSean Griffin2015-10-261-3/+9
|\
| * Errors can be indexed with nested attributesMichael Probber2015-04-171-3/+9
* | applies new doc guidelines to Active Record.Yves Senn2015-10-141-5/+4
* | add missing `:nodoc:` for `AutosaveAssociation::ClassMethods` [ci skip]Yves Senn2015-10-141-1/+1
* | Fix Punctuation in `AutosaveAssociation` RDocRobert Eshleman2015-08-201-2/+2
* | Correctly ignore `mark_for_destruction` without `autosave`Sean Griffin2015-07-201-1/+1
* | Ensure cyclic associations w/ autosave don't cause duplicate errorsSean Griffin2015-07-181-0/+7
|/
* Always perform validations on nested attribute associationsSean Griffin2015-01-301-4/+12
* Fix potenital stack level too deep with autosave or validationMiklos Fazkeas2015-01-041-4/+11
* Deprecate `false` as the way to halt AR callbacksclaudiob2015-01-021-1/+1
* Deprecate `false` as the way to halt AS callbacksclaudiob2015-01-021-1/+7
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-3/+3
* Autosave callbacks shouldn't be `after_save`Agis-2014-10-131-1/+3
* Use has_attribute?Rafael Mendonça França2014-09-171-1/+1
* Don't autosave unchanged has_one through recordsAlan Kennedy2014-09-151-1/+3
* Do not mark object as persisted after an association is savedRafael Mendonça França2014-09-051-2/+0
* Don't save through records twiceSean Griffin2014-06-171-3/+2
* add has_one? method and reuse instead of checking macroeileencodes2014-06-091-1/+1
* Fix redefine a has_and_belongs_to_many inside inherited classArthur Neves2014-05-271-24/+23
* Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-241-3/+5
* Revert "Revert "Merge pull request #8313 from alan/only_save_changed_has_one_...Rafael Mendonça França2014-05-201-2/+3
* Merge pull request #14924 from eric-chahin/issue_13854Matthew Draper2014-05-031-1/+2
|\
| * Fixed custom validation context bug where childEric Chahin2014-05-011-1/+2
|/
* docs, make association `autosave: true` examples runnable. Closes #14700Yves Senn2014-04-111-6/+9
* Revert "Merge pull request #8313 from alan/only_save_changed_has_one_objects"Rafael Mendonça França2014-03-251-3/+2
* Merge pull request #8313 from alan/only_save_changed_has_one_objectsRafael Mendonça França2014-03-101-2/+3
|\
| * Save has_one associations only if record has changesAlan Kennedy2013-10-311-2/+3
* | Revert "context in validation goes through has many relationship"Aaron Patterson2014-02-201-1/+1
* | context in validation goes through has many relationshipKevin Casey2014-02-081-1/+1
|/
* Save association when primary key is manually setlaurocaetano2013-10-241-1/+7
* Fix some indentation on autosave associationArthur Neves2013-10-171-196/+196
* Make define_non_cyclic_method simplerArthur Neves2013-10-171-7/+7