aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/autosave_association.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Don't construct association scope in initializer. This yields a big performan...Jon Leighton2011-07-071-1/+1
* Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-1/+1
* Active Record typos.R.T. Lechow2011-03-051-1/+1
* Use proper objects to do the work to build the associations (adding methods, ...Jon Leighton2011-02-211-15/+14
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-181-22/+26
|\
| * Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-22/+26
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-151-18/+22
|\|
| * Get rid of AssociationCollection#save_recordJon Leighton2011-02-141-1/+1
| * just return the record from insert_record, use truthiness for comparisonsAaron Patterson2011-02-071-1/+3
| * 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
* | Should save without validation if autosave is enabled.Emilio Tagua2010-12-201-2/+4
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2010-12-201-12/+10
|\|
| * 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
* | Remove associated records from identity map if any raised an unexpected excep...Emilio Tagua2010-11-191-14/+19
* | Looping prevention for autosave relations on validation and creationMarcin Raczkowski2010-11-191-3/+20
|/
* 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