| Commit message (Expand) | Author | Age | Files | Lines |
* | added failing tests for has_many, has_one and belongs_to associations with st... | Jakub Kuźma | 2011-12-21 | 1 | -6/+1 |
* | bypass preloading for ids_reader | Sergey Nartimov | 2011-12-18 | 1 | -2/+10 |
* | Allow nested attributes in associations to update values in it's owner object... | Andrew Kaspick | 2011-12-14 | 1 | -0/+2 |
* | Fix #3672 again (dependent: delete_all perf) | Jon Leighton | 2011-12-14 | 6 | -9/+26 |
* | Fix #3890. (Calling proxy_association in scope chain.) | Jon Leighton | 2011-12-08 | 1 | -2/+8 |
* | reintroduce patch from #726 to handle nested eager loading via associations | Jay Levitt | 2011-11-30 | 1 | -1/+1 |
* | ActiveRecord::Relation#pluck method | Bogdan Gusiev | 2011-11-30 | 1 | -1/+1 |
* | Merge pull request #3636 from joshsusser/master | Jon Leighton | 2011-11-29 | 6 | -21/+22 |
|\ |
|
| * | avoid warnings | Josh Susser | 2011-11-27 | 6 | -15/+15 |
| * | use GeneratedFeatureMethods module for associations | Josh Susser | 2011-11-27 | 2 | -7/+13 |
| * | association methods are now generated in modules | Josh Susser | 2011-11-15 | 7 | -30/+25 |
* | | load has_many associations keyed off a custom primary key if that key is pres... | Brian Samson | 2011-11-25 | 2 | -1/+5 |
* | | Perf fix | Jon Leighton | 2011-11-19 | 1 | -2/+6 |
|/ |
|
* | Use uniq instead of manually putting a DISTINCT in the query | Jon Leighton | 2011-11-05 | 1 | -14/+2 |
* | Merge pull request #3507 from jmazzi/issue-3503 | Jeremy Kemper | 2011-11-03 | 1 | -2/+6 |
* | Memoize through association | Jon Leighton | 2011-11-03 | 1 | -8/+11 |
* | Remove all revelant through records. | Jon Leighton | 2011-11-03 | 1 | -9/+9 |
* | Fix adding multiple instances of the same record to a has_many :through. | Jon Leighton | 2011-11-03 | 1 | -21/+43 |
* | Fix #3247. | Jon Leighton | 2011-11-03 | 1 | -1/+1 |
* | Merge pull request #3030 from htanata/fix_habtm_select_query_method | Jon Leighton | 2011-09-26 | 1 | -4/+0 |
* | Fix belongs_to polymorphic with custom primary key on target. | Jon Leighton | 2011-09-26 | 2 | -2/+11 |
* | CollectionProxy#replace should change the DB records rather than just mutatin... | Jon Leighton | 2011-09-26 | 1 | -1/+1 |
* | Don't include any of includes, preload, joins, eager_load in the through asso... | Jon Leighton | 2011-09-07 | 1 | -1/+1 |
* | Nested through associations: preloads from the default scope of a through mod... | Jon Leighton | 2011-09-06 | 1 | -1/+1 |
* | Don't find belongs_to target when the foreign_key is NULL. Fixes #2828 | Georg Friedrich | 2011-09-05 | 1 | -0/+4 |
* | The join_nodes must be passed to the JoinDependency initializer and therefore... | Jon Leighton | 2011-08-29 | 1 | -6/+12 |
* | Ensure empty has_many :through association preloaded via joins is marked as l... | Jon Leighton | 2011-08-15 | 1 | -3/+2 |
* | Fix private methods which are delegated to. This previously worked because Mo... | Jon Leighton | 2011-08-15 | 2 | -13/+13 |
* | Make it the responsibility of the connection to hold onto an ARel visitor for... | Jon Leighton | 2011-08-08 | 2 | -3/+3 |
* | Add a proxy_association method to association proxies, which can be called by... | Jon Leighton | 2011-07-27 | 1 | -6/+10 |
* | Changed a few instances of of words in the API docs written in British Englis... | Oemuer Oezkir | 2011-07-24 | 1 | -1/+1 |
* | Fix exception if old and new targets are both nil. Fixes #1471. | Jon Leighton | 2011-07-12 | 1 | -1/+1 |
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-07-09 | 1 | -1/+1 |
|\ |
|
| * | find(:first) => first | Akira Matsuda | 2011-07-08 | 1 | -1/+1 |
* | | Destroy association habtm record before destroying the record itself. Fixes i... | Tomas D'Stefano | 2011-07-08 | 1 | -12/+10 |
* | | Ensure that the foreign key gets set when doing record.create_association or ... | Jon Leighton | 2011-07-08 | 1 | -2/+11 |
* | | Merge pull request #1120 from lysenko/collection_singular_ids | Santiago Pastorino | 2011-07-06 | 1 | -1/+1 |
|\ \ |
|
| * | | Fix bug in collection_singular_ids on has many through association with condi... | Anatoliy Lysenko | 2011-07-06 | 1 | -1/+1 |
* | | | Don't construct association scope in initializer. This yields a big performan... | Jon Leighton | 2011-07-07 | 1 | -6/+10 |
|/ / |
|
* | | Merge pull request #1968 from bogdan/associations_find_array_compatibility2 | Santiago Pastorino | 2011-07-05 | 1 | -3/+7 |
|\ \
| |/
|/| |
|
| * | Fixed CollectionAssociation#find to be compatible with Array#find | Bogdan Gusiev | 2011-07-05 | 1 | -3/+7 |
* | | Only call set_owner_attributes for has_one association if target exists. | Dieter Komendera | 2011-07-04 | 1 | -1/+1 |
|/ |
|
* | a few minor performance improvements: fewer strings, fewer range objects, few... | Aaron Patterson | 2011-07-01 | 2 | -22/+13 |
* | remove unused codes | Aaron Patterson | 2011-07-01 | 1 | -4/+0 |
* | reduce calls to owners_by_key and to read_attribute, respond_to? etc | Aaron Patterson | 2011-07-01 | 1 | -2/+3 |
* | Assign the association attributes to the associated record before the before_... | Jon Leighton | 2011-06-30 | 3 | -8/+10 |
* | match method signature of the superclass | Aaron Patterson | 2011-06-30 | 1 | -3/+3 |
* | cache the plural name on the reflection so we do not pay pluralize costs on j... | Aaron Patterson | 2011-06-30 | 1 | -1/+1 |
* | Replace inline lambdas with named methods | Jon Leighton | 2011-06-12 | 1 | -29/+42 |
* | Don't wrap operations on collection associations in transactions when they ar... | benedikt | 2011-06-12 | 1 | -3/+9 |