aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* fix #delete_all with habtm with :delete_sqlJon Leighton2012-05-181-0/+1
* Perf: Don't load the association for #delete_all.Jon Leighton2012-05-184-9/+33
* Fix CollectionAssociation#replace to return new target (closes #6231)Piotr Sarnacki2012-05-161-0/+2
* Revert "Revert "Fix #5667. Preloading should ignore scoping.""Benedikt Deicke2012-04-191-2/+3
* Revert "Fix #5667. Preloading should ignore scoping."Jeremy Kemper2012-04-181-3/+2
* Fix #5667. Preloading should ignore scoping.Jon Leighton2012-03-301-2/+3
* Not need to pass join attributes to association buildRafael Mendonça França2012-03-082-4/+10
* Fix #5069 - Protect foreign key from mass assignment throught association bui...Jean Boussier2012-03-051-1/+2
* fix associations when using per class databasesLars Kanis2012-03-043-8/+5
* Merge pull request #4543 from jdelStrother/find_or_initJon Leighton2012-02-011-2/+1
* Merge pull request #4783 from gregolsen/ids_reader_fixJon Leighton2012-01-311-1/+1
* added failing tests for has_many, has_one and belongs_to associations with st...Jakub Kuźma2011-12-211-6/+1
* bypass preloading for ids_readerSergey Nartimov2011-12-181-2/+10
* Allow nested attributes in associations to update values in it's owner object...Andrew Kaspick2011-12-141-0/+2
* Fix #3672 again (dependent: delete_all perf)Jon Leighton2011-12-146-9/+26
* Fix #3890. (Calling proxy_association in scope chain.)Jon Leighton2011-12-081-2/+8
* reintroduce patch from #726 to handle nested eager loading via associationsJay Levitt2011-11-301-1/+1
* ActiveRecord::Relation#pluck methodBogdan Gusiev2011-11-301-1/+1
* Merge pull request #3636 from joshsusser/masterJon Leighton2011-11-296-21/+22
|\
| * avoid warningsJosh Susser2011-11-276-15/+15
| * use GeneratedFeatureMethods module for associationsJosh Susser2011-11-272-7/+13
| * association methods are now generated in modulesJosh Susser2011-11-157-30/+25
* | load has_many associations keyed off a custom primary key if that key is pres...Brian Samson2011-11-252-1/+5
* | Perf fixJon Leighton2011-11-191-2/+6
|/
* Use uniq instead of manually putting a DISTINCT in the queryJon Leighton2011-11-051-14/+2
* Merge pull request #3507 from jmazzi/issue-3503Jeremy Kemper2011-11-031-2/+6
* Memoize through associationJon Leighton2011-11-031-8/+11
* Remove all revelant through records.Jon Leighton2011-11-031-9/+9
* Fix adding multiple instances of the same record to a has_many :through.Jon Leighton2011-11-031-21/+43
* Fix #3247.Jon Leighton2011-11-031-1/+1
* Merge pull request #3030 from htanata/fix_habtm_select_query_methodJon Leighton2011-09-261-4/+0
* Fix belongs_to polymorphic with custom primary key on target.Jon Leighton2011-09-262-2/+11
* CollectionProxy#replace should change the DB records rather than just mutatin...Jon Leighton2011-09-261-1/+1
* Don't include any of includes, preload, joins, eager_load in the through asso...Jon Leighton2011-09-071-1/+1
* Nested through associations: preloads from the default scope of a through mod...Jon Leighton2011-09-061-1/+1
* Don't find belongs_to target when the foreign_key is NULL. Fixes #2828Georg Friedrich2011-09-051-0/+4
* The join_nodes must be passed to the JoinDependency initializer and therefore...Jon Leighton2011-08-291-6/+12
* Ensure empty has_many :through association preloaded via joins is marked as l...Jon Leighton2011-08-151-3/+2
* Fix private methods which are delegated to. This previously worked because Mo...Jon Leighton2011-08-152-13/+13
* Make it the responsibility of the connection to hold onto an ARel visitor for...Jon Leighton2011-08-082-3/+3
* Add a proxy_association method to association proxies, which can be called by...Jon Leighton2011-07-271-6/+10
* Changed a few instances of of words in the API docs written in British Englis...Oemuer Oezkir2011-07-241-1/+1
* Fix exception if old and new targets are both nil. Fixes #1471.Jon Leighton2011-07-121-1/+1
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-091-1/+1
|\
| * find(:first) => firstAkira Matsuda2011-07-081-1/+1
* | Destroy association habtm record before destroying the record itself. Fixes i...Tomas D'Stefano2011-07-081-12/+10
* | Ensure that the foreign key gets set when doing record.create_association or ...Jon Leighton2011-07-081-2/+11
* | Merge pull request #1120 from lysenko/collection_singular_idsSantiago Pastorino2011-07-061-1/+1
|\ \
| * | Fix bug in collection_singular_ids on has many through association with condi...Anatoliy Lysenko2011-07-061-1/+1
* | | Don't construct association scope in initializer. This yields a big performan...Jon Leighton2011-07-071-6/+10
|/ /