aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/association_scope.rb
Commit message (Expand)AuthorAgeFilesLines
* remove unused parametersAaron Patterson2017-03-031-6/+6
* `join_keys` no longer needs a class passed to itAaron Patterson2017-03-031-2/+2
* Chain scope constraints should respect own table aliasRyuta Kamizono2017-02-011-5/+6
* Describe what we are protectingAkira Matsuda2016-12-231-0/+2
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-79/+79
* Replacement cycle for readabilityMolchanov Andrey2016-05-101-2/+1
* Allow symbols using "dot notation" to be passed to whereSean Griffin2016-04-121-2/+2
* Ensure associations still work when the table name contains a dotSean Griffin2016-03-311-2/+2
* Changed the order of Association constraints from where->order->unscope to un...kal2015-10-201-1/+1
* Correct through associations using scopesSean Griffin2015-06-301-0/+1
* Go through normal `where` logic in `AssociationScope`Sean Griffin2015-01-261-51/+31
* Remove all references to `where_values` in association codeSean Griffin2015-01-251-2/+1
* Remove references to `:bind` in `except`Sean Griffin2015-01-251-1/+1
* Cleanup methods, missing spacing and missing nodocseileencodes2015-01-021-19/+20
* Move `#type_caster` to alias tracker initializeeileencodes2015-01-021-1/+1
* Add `#all_includes` method to reflectionseileencodes2015-01-021-1/+3
* Initialze `#alias_tracker` with base table nameeileencodes2015-01-021-1/+0
* Move `alias_candiate` into `AbstractReflection`eileencodes2015-01-021-9/+7
* Pass `connection` rather than `alias_tracker`eileencodes2015-01-021-4/+4
* 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
* Add RuntimeReflection for recursive access to chaineileencodes2015-01-021-3/+54
* Add PolymorphicReflection and constraints methodeileencodes2015-01-021-3/+4
* Pass a type caster when aliasing tables for joinsSean Griffin2014-12-291-1/+2
* Pass connection rather than alias_trackereileencodes2014-12-131-16/+17
* Remove the unused second argument to `substitute_at`Sean Griffin2014-11-171-2/+1
* Merge pull request #16801 from eileencodes/refactor-scope_chain-on-through-re...Rafael Mendonça França2014-09-041-5/+1
|\
| * Always add lambda to scope chain to eliminate branch in eval_scopeeileencodes2014-09-041-5/+1
* | Follup to PR #16762eileencodes2014-09-041-4/+4
|/
* get rid of shadowing warning when running tests AR and railtie tests.Yves Senn2014-09-041-2/+2
* Break conditional branches into separate methodseileencodes2014-09-011-35/+52
* Remove to_s from reflection.type in add_constraintseileencodes2014-08-181-2/+2
* begin refactoring add_constraints by moving join keyseileencodes2014-06-101-12/+3
* fix polymorphic? method and reuse iteileencodes2014-06-021-1/+1
* Refactor AssociationScope#get_bind_valuesEric Chahin2014-05-051-8/+1
* cache scope building on associationsAaron Patterson2014-04-141-6/+49
* Merge branch 'master' into adequaterecordAaron Patterson2014-02-171-31/+56
|\
| * add factory methods for empty alias trackersAaron Patterson2014-02-141-1/+1
| * guarantee a list in the alias tracker so we can remove a conditionalAaron Patterson2014-02-141-1/+1
| * make a singleton for AssociationScopeAaron Patterson2014-02-141-0/+6
| * pass the association and connection to the scope methodAaron Patterson2014-02-141-8/+2
| * pass the tracker down the stack and construct it in the scope methodAaron Patterson2014-02-141-18/+18
| * clean up add_constraints signatureAaron Patterson2014-02-141-8/+9
| * remove the reflection delegateAaron Patterson2014-02-141-15/+14
| * remove klass delegatorAaron Patterson2014-02-141-10/+11