aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
Commit message (Expand)AuthorAgeFilesLines
* Refactor AssociationScope#get_bind_valuesEric Chahin2014-05-051-0/+5
* use statement cache for belongs_to relationsAaron Patterson2014-04-221-1/+4
* Merge branch 'master' into adequaterecordAaron Patterson2014-04-201-2/+2
|\
| * Singularize association names before camelizationJavier Goizueta2014-04-181-2/+2
* | oops. should probably double check in the DCLAaron Patterson2014-04-141-1/+3
* | cache scope building on associationsAaron Patterson2014-04-141-0/+9
|/
* Only call uniq on the conditional that actually needs itCarlos Antonio da Silva2014-04-091-1/+1
* Remove extra collect callCarlos Antonio da Silva2014-04-091-1/+1
* Make the aggregate_reflections cache work with strings as its keys.Lauro Caetano2014-04-091-2/+2
* No need to call `to_sym` on reflection name, since the cache now worksLauro Caetano2014-04-091-2/+2
* Make the reflections cache work with strings as its keys.Lauro Caetano2014-04-091-2/+2
* The `source` option for `has_many => through` should accept StringLauro Caetano2014-04-091-1/+1
* Ensure we are returning either `true` or `false` for `#==`Godfrey Chan2014-03-291-1/+1
* scope_chain should not be mutated for other reflectionsNeeraj Singh2013-10-141-1/+1
* Fix the indentationRafael Mendonça França2013-10-081-12/+13
* remove HABTM special cases from reflectionsAaron Patterson2013-10-021-14/+2
* push constructable? on to the reflectionAaron Patterson2013-10-021-0/+16
* Remove conditional adding a new methodRafael Mendonça França2013-09-111-5/+5
* support anonymous classes on has_many associationsAaron Patterson2013-09-031-0/+1
* pk should not be required for hm:t associationsAaron Patterson2013-08-291-1/+0
* Fixing multi-word automatic inverse detection.wangjohn2013-08-151-2/+2
* Revert "all `scope_chain` methods allocate new arrays, no need to dup"Aaron Patterson2013-07-311-1/+1
* all `scope_chain` methods allocate new arrays, no need to dupAaron Patterson2013-07-301-1/+1
* oops!Aaron Patterson2013-07-231-1/+1
* eliminate conditional in JoinHelperAaron Patterson2013-07-231-1/+1
* acually get the actual source reflection :cry::gun:Aaron Patterson2013-07-231-7/+14
* factory methods should not have side effects.Aaron Patterson2013-07-231-3/+1
* extract mutation from generation methodAaron Patterson2013-07-231-3/+5
* habtm can only ever be an association reflectionAaron Patterson2013-07-221-2/+4
* use the predicate methodAaron Patterson2013-07-221-1/+1
* AR::Base does not need to know how to create reflection objectsAaron Patterson2013-07-221-19/+19
* use the superclass implementationAaron Patterson2013-07-181-1/+3
* quoted table name is also cachedAaron Patterson2013-06-131-1/+1
* table name is cached on the class, so stop caching twiceAaron Patterson2013-06-131-1/+1
* calculate types on constructionAaron Patterson2013-06-131-8/+4
* only cache the primary key column in one placeAaron Patterson2013-06-131-1/+1
* these methods are never called, so remove themAaron Patterson2013-06-131-8/+0
* This test does not test anything that happens in the real world. If youAaron Patterson2013-06-131-7/+0
* oops. step away from the keyboard aaron. :cry:Aaron Patterson2013-06-131-1/+1
* fix caching of automatic inverse of. :bomb:Aaron Patterson2013-06-131-1/+3
* let the object stay in charge of internal cache invalidationAaron Patterson2013-06-131-7/+5
* reduce automatic_inverse_of caching logicAaron Patterson2013-06-131-30/+16
* active_record should always be set. Do or do not, there is no tryAaron Patterson2013-06-131-1/+1
* push ambiguous reflection warning down to reflection name calculationAaron Patterson2013-06-131-23/+28
* clean up ivar assignmentAaron Patterson2013-06-131-3/+2
* Ambiguous reflections are on :through relationships are no longer supported.Aaron Patterson2013-06-131-1/+27
* sometimes singularize does not work, so we get a list of two strings. just un...Aaron Patterson2013-06-121-1/+1
* no need to cache hash lookupsAaron Patterson2013-06-121-1/+1
* split aggregates from association reflections to avoid is_a checks laterAaron Patterson2013-06-121-5/+11
* remove unnecessary is_a checkAaron Patterson2013-06-121-2/+1