aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/autosave_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Don't validate non dirty association targetsWill Jessop2019-07-151-1/+1
* Merge pull request #36210 from vishaltelangre/raise-record-invalid-when-assoc...Rafael França2019-06-241-1/+1
|\
| * Fix: ActiveRecord::RecordInvalid is not raised when an associated record fail...Vishal Telangre2019-05-101-1/+1
* | Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-2/+0
|/
* Merge pull request #32313 from lulalala/model_error_as_objectRafael França2019-04-241-16/+9
|\
| * Allow errors to remove duplicates, and ensure cyclic associations w/ autosave...lulalala2019-03-311-3/+1
| * Use errors#import instead of manipulating errors/details hashlulalala2019-03-311-13/+8
* | Merge pull request #28155 from lcreid/belongs_toRyuta Kamizono2019-04-101-2/+6
|\ \ | |/ |/|
| * Fix circular `autosave: true`Larry Reid2018-07-231-2/+6
* | Fix unintended autosave on has_one through associationSergiy Kukunin2019-03-221-1/+7
* | Merge pull request #33378 from numbata/subclass-redefine-autosave-callbacksRafael Mendonça França2018-09-131-1/+1
|\ \
| * | Allow subclasses to redefine autosave callbacks for associated recordsAndrey Subbota2018-07-271-1/+1
| |/
* / Fix regression setting children record in parent before_save callback.Guo Xiang Tan2018-09-031-5/+5
|/
* Fix parent record should not get saved with duplicate children recordsSantosh Wadghule2018-05-281-3/+5
* Rollback parent transaction when children fails to update (#32796)Guillaume Malette2018-05-221-2/+5
* 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