aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/join_dependency.rb
Commit message (Expand)AuthorAgeFilesLines
* join parts in `build` are *always* new, so don't bother checkingAaron Patterson2013-10-081-1/+2
* stop looking up the reflection multiple timesAaron Patterson2013-10-081-6/+5
* cache join associations and join base on the stackAaron Patterson2013-10-081-4/+11
* use the API rather than accessing underlying data structuresAaron Patterson2013-10-081-1/+1
* associations is always a hashAaron Patterson2013-10-081-19/+13
* keys are always symbolsAaron Patterson2013-10-081-2/+4
* we can get a list of reflections from the join parts, so let's removeAaron Patterson2013-10-081-3/+5
* transform the association input so we can avoid type checks later.Aaron Patterson2013-10-081-17/+31
* we know the keys are scalars, so avoid some typecheckingAaron Patterson2013-10-081-8/+12
* this method is only ever called with a reflectionAaron Patterson2013-10-081-6/+2
* don't access the reflections hashAaron Patterson2013-10-081-2/+6
* build association tree thing on demand.Aaron Patterson2013-10-081-6/+11
* hide join_parts internals from other classesAaron Patterson2013-10-081-6/+17
* decouple JoinAssociation from JoinDependencyAaron Patterson2013-10-081-1/+1
* @associations can never have an array, so remove the dead codeAaron Patterson2013-10-081-4/+0
* typecast records returned from the db rather than to_sing everythingAaron Patterson2013-10-081-12/+17
* extract the string handling part to a method.Aaron Patterson2013-10-071-15/+15
* remove more dead codeAaron Patterson2013-10-071-2/+0
* this code is never used, remove itAaron Patterson2013-10-071-4/+0
* inject down the hash cacheAaron Patterson2013-10-031-3/+2
* hashes are ordered, so we do not need to sortAaron Patterson2013-10-031-3/+3
* Always pass parameters to `build`Aaron Patterson2013-10-031-2/+2
* Set the join type on constructionAaron Patterson2013-10-031-4/+3
* simplify the JoinAssociation constructor, check validity *before*Aaron Patterson2013-10-031-0/+6
* require the files we need so the classes are stand-aloneAaron Patterson2013-10-031-1/+0
* remove HABTM special cases from associations classesAaron Patterson2013-10-021-1/+1
* just set the default argument, a nil parent should be an errorAaron Patterson2013-05-211-2/+1
* fold the collection rather than multiple assigmentsAaron Patterson2013-05-211-3/+2
* use drop rather than calculate the array lengthAaron Patterson2013-05-211-1/+1
* Extract JoinDependency#join_relation to DRY the repeated application of the #...Ben Woosley2013-05-101-0/+7
* rdoc for some of the methods in JoinDependencyNeeraj Singh2013-04-101-0/+21
* remove_duplicate_results! should be protectedNeeraj Singh2013-04-101-2/+2
* changed variable name active_record => base_klassNeeraj Singh2013-04-091-4/+4
* show name of the klass that has missing associationNeeraj Singh2013-04-021-1/+1
* no need to invoke to_s before applying internNeeraj Singh2013-04-021-1/+1
* Refactor to use each_key, remove extra spacesCarlos Antonio da Silva2013-01-281-1/+1
* Revert "Use flat_map { } instead of map {}.flatten"Santiago Pastorino2012-10-051-2/+2
* Use flat_map { } instead of map {}.flattenSantiago Pastorino2012-10-051-2/+2
* Revert "Merge pull request #5494 from armstrjare/active_record_relation_keep_...Jon Leighton2012-05-051-1/+1
* Allow ActiveRecord::Relation merges to maintain context of joined associationsJared Armstrong2012-05-041-1/+1
* fix associations when using per class databasesLars Kanis2012-02-101-1/+1
* reintroduce patch from #726 to handle nested eager loading via associationsJay Levitt2011-11-301-1/+1
* Ensure empty has_many :through association preloaded via joins is marked as l...Jon Leighton2011-08-151-3/+2
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-24/+8
* Move JoinDependency and friends from ActiveRecord::Associations::ClassMethods...Jon Leighton2011-02-281-0/+231