aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Fix a regression introduced by removing unnecessary db call when replacingShintaro Kojima2015-04-041-0/+2
* Freeze static arguments for gsubbrainopia2015-04-021-1/+1
* Prefer string patterns for gsubbrainopia2015-04-021-1/+1
* Reuse the CollectionAssociation#reader proxy cache if the foreign key is pres...Ben Woosley2015-03-151-2/+2
* Doc fix about association hierarchykeepcosmos2015-03-151-2/+2
* Isolate access to .default_scopes in ActiveRecord::Scoping::DefaultBen Woosley2015-03-122-4/+2
* Merge pull request #19234 from sivsushruth/doc_fixKasper Timm Hansen2015-03-071-1/+1
|\
| * Doc fix [ci skip]Sushruth Sivaramakrishnan2015-03-071-1/+1
* | Updated documentation of CollectionProxy#clear [ci skip]Prathamesh Sonpatki2015-03-061-0/+3
|/
* Preserve Array#take(n) behaviour of HasManyAssociationAkira Matsuda2015-02-282-5/+5
* Require `belongs_to` by default.Josef Šimánek2015-02-213-8/+26
* Merge branch 'rm-take' into 4-1-stableRafael Mendonça França2015-02-202-0/+14
* Merge pull request #16989 from Empact/reload-cache-clearRafael Mendonça França2015-02-201-6/+4
|\
| * Isolate access to @associations_cache and @aggregations cache to the Associat...Ben Woosley2014-09-281-6/+4
* | `type_cast_from_user` -> `cast`Sean Griffin2015-02-171-1/+1
* | Optimize none? and one? relation query methods to use LIMIT and COUNT.Eugene Gilburg2015-02-121-2/+4
* | Correct errors in counter cache updatingSean Griffin2015-02-032-3/+7
* | Merge branch 'master' into pr/18316Mingdong Luo2015-01-3112-96/+73
|\ \
| * \ Merge pull request #18700 from nygrenh/better-required-messageAaron Patterson2015-01-311-1/+1
| |\ \
| | * | Provide a better error message on :required associationHenrik Nygren2015-01-281-1/+1
| * | | Remove most type related predicates from `Column`Sean Griffin2015-01-301-2/+2
| |/ /
| * | Remove Relation#bind_paramsSean Griffin2015-01-272-2/+2
| * | Use an `Attribute` object to represent a bind valueSean Griffin2015-01-271-4/+4
| * | Don't rely on the internal representation of join valuesSean Griffin2015-01-272-2/+6
| * | Go through normal `where` logic in `AssociationScope`Sean Griffin2015-01-261-51/+31
| * | Improve consistency of counter caches updating in memorySean Griffin2015-01-262-5/+18
| * | Move flattening records added to an association farther outSean Griffin2015-01-261-1/+2
| * | Remove all references to `where_values` in association codeSean Griffin2015-01-254-12/+7
| * | Remove references to `:bind` in `except`Sean Griffin2015-01-251-1/+1
| * | Don't access the where values hash directly in through associationsSean Griffin2015-01-251-1/+1
| * | Don't rely as much on the structure of the values hash in associationsSean Griffin2015-01-252-2/+2
| * | Don't rely on relation mutability when building through associationsSean Griffin2015-01-241-1/+1
| * | Remove unneeded requiresRafael Mendonça França2015-01-041-2/+0
| * | Return a null column from `column_for_attribute` when no column exists.Rafael Mendonça França2015-01-041-2/+2
| * | Remove deprecated automatic counter caches on `has_many :through`Rafael Mendonça França2015-01-041-14/+0
| * | Deprecate `false` as the way to halt AR callbacksclaudiob2015-01-022-2/+2
* | | Fix n+1 query problem when eager loading nil associations (fixes #18312)Sammy Larbi2015-01-031-1/+6
|/ /
* | Cleanup methods, missing spacing and missing nodocseileencodes2015-01-021-19/+20
* | Move `#type_caster` to alias tracker initializeeileencodes2015-01-023-13/+10
* | Add `#all_includes` method to reflectionseileencodes2015-01-021-1/+3
* | Initialze `#alias_tracker` with base table nameeileencodes2015-01-023-11/+12
* | Move `alias_candiate` into `AbstractReflection`eileencodes2015-01-021-9/+7
* | Pass `connection` rather than `alias_tracker`eileencodes2015-01-022-7/+7
* | Assign the `#alias_name` to each reflectioneileencodes2015-01-021-11/+12
* | Clean up / refactor new reflection classeseileencodes2015-01-021-50/+1
* | Refactor `#get_chain` iteration to a linked listeileencodes2015-01-021-14/+21
* | Refactor `#get_chain` to remove need for `#construct_tables`eileencodes2015-01-021-14/+11
* | Move `#alias_name` to `ReflectionProxy` classeileencodes2015-01-021-10/+23
* | Clean up assignments in `#add_constraints`eileencodes2015-01-021-8/+3
* | Refactor construct_tables methodeileencodes2015-01-021-36/+10