aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
Commit message (Expand)AuthorAgeFilesLines
* Use HasAndBelongsToMany instead of HABTMArthur Neves2014-06-091-1/+1
* reuse available collection? check instead of macroeileencodes2014-06-091-1/+1
* Merge pull request #15596 from eileencodes/add-has_one-method-and-reuseRafael Mendonça França2014-06-091-1/+5
|\
| * add has_one? method and reuse instead of checking macroeileencodes2014-06-091-1/+5
* | Abstract away use of HABTM macroeileencodes2014-06-091-1/+8
|/
* fix polymorphic? method and reuse iteileencodes2014-06-021-8/+8
* Refactoring .reflections public method.Arthur Neves2014-05-261-4/+23
* Use .to_s on _reflections lookupArthur Neves2014-05-241-1/+1
* Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-241-7/+20
* deprecate, join, preload, eager load of instance dependent associations.Yves Senn2014-05-101-0/+14
* 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