aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/autosave_association.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* extend by adding relationships rather than monkey patchingAaron Patterson2013-07-221-6/+6
* decouple extensions from association object stateAaron Patterson2013-07-221-1/+1
* Do not re-save destroyed association on saving parent objectPaul Nikitochkin2013-07-151-0/+1
* Revert "Merge pull request #4490 from EmmanuelOga/master"José Valim2013-06-041-1/+1
* destroys association records before saving/inserting new association recordsJohnny Holton2013-05-021-9/+8
* without autosave option updated records not saveNeeraj Singh2013-04-171-1/+2
* Prefer find_by over dynamic finders in rdocSam Ruby2013-04-021-4/+4
* Update other counter caches on destroyIan Young2013-03-201-0/+14
* No need to send public methodsAkira Matsuda2013-02-261-1/+1
* Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by"Guillermo Iguaran2013-01-181-4/+4
* User Rails 4 find_byrobertomiranda2013-01-181-4/+4
* Cleans and removes 'Examples' tag [ci skip]Alvaro Pereyra2012-12-011-2/+0
* 1.9 hash syntax changesAvnerCohen2012-11-081-11/+11
* Merge pull request #5248 from jcoleman/should-unset-association-when-an-exist...Jon Leighton2012-09-211-0/+1
|\
| * Unset association when existing record is destroyed.James Coleman2012-03-021-0/+1
* | stop using class_attribute where methods/inheritance will suffice.Jon Leighton2012-07-131-10/+4
* | CollectionProxy < RelationJon Leighton2012-05-111-1/+1
* | Merge pull request #3329 from armstrjare/autosave_collection_new_record_bugJosé Valim2012-03-181-1/+6
|\ \
| * | Fix bug with autosave collection association on new record with a marked for ...Jared Armstrong2012-03-181-1/+6
* | | Updates 'modyfing' typo to 'modifying'Jonathan R. Wallace2012-03-171-1/+1
|/ /
* | Remove IdentityMapCarlos Antonio da Silva2012-03-131-6/+0
* | Refactor and cleanup in some ActiveRecord modulesCarlos Antonio da Silva2012-03-031-16/+14
* | Revert "Remove meaningless code from the examples" of AutosaveAssociation Dimitar Dimitrov2012-02-221-0/+3
* | Minor fixes to ActiveRecord::AutosaveAssociation's docs Dimitar Dimitrov2012-02-221-5/+3
|/
* validate related records in the same validation context as parent.Emmanuel Oga2012-01-171-1/+1
* Remove Array.wrap calls in ActiveRecordRafael Mendonça França2012-01-061-2/+0
* Don't try to autosave nested assocs. Fixes #2961.Jon Leighton2011-12-141-1/+1
* added information about callbacks created by autosave association (#3639)Jakub Kuźma2011-11-281-4/+16
* Test case and fix for rails/rails#3450Jan Varwig2011-11-271-1/+1
* Raise error when using write_attribute with a non-existent attribute.Jon Leighton2011-09-131-1/+4