aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/association_scope.rb
Commit message (Expand)AuthorAgeFilesLines
...
* 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
| * remove chain delegateAaron Patterson2014-02-141-5/+6
| * remove scope_chain delegateAaron Patterson2014-02-141-3/+3
| * remove more delegate methodsAaron Patterson2014-02-131-7/+9
| * :scissors: whitespaceAaron Patterson2014-02-131-1/+0
| * rm delegate methods that are not actually usedAaron Patterson2014-02-131-2/+2
| * JoinHelper is never reused, so there is no need to separateAaron Patterson2014-02-131-5/+25
| * this class depends on JoinHelper, so we should require itAaron Patterson2014-01-311-0/+2
* | Merge branch 'master' into set_bindsAaron Patterson2014-01-111-18/+12
|\|
| * Skip `include_values` from through associations chains for building target scopePaul Nikitochkin2013-10-271-2/+6
| * remove HABTM special cases from associations classesAaron Patterson2013-10-021-12/+0
| * use bind values for model typesAaron Patterson2013-07-311-2/+3
| * only calculate the klass onceAaron Patterson2013-07-291-1/+2
| * use the superclass implementationAaron Patterson2013-07-181-1/+1
| * bind values should not be merged between scopesAaron Patterson2013-06-111-1/+1
* | push binds through relation objectsAaron Patterson2013-05-201-0/+1
|/
* use | to have more intent revealing codeNeeraj Singh2013-04-041-1/+1
* has_many through obeys order on through associationNeeraj Singh2013-04-041-0/+1
* hide more data in the schema cacheAaron Patterson2013-03-141-1/+1
* Prevent Relation#merge from collapsing wheres on the RHSJon Leighton2013-01-271-4/+8
* Undeprecate the :extend optionJon Leighton2013-01-181-0/+1
* Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-011-1/+1
* Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-201-1/+1
* fix association :extend optionJon Leighton2012-07-131-6/+2
* Represent association scope options as AR::Relations insternally.Jon Leighton2012-07-131-40/+15
* predicate builder should not recurse for determining where columns.Aaron Patterson2012-05-301-2/+17
* remove apply_finder_options call from AssociationScopeJon Leighton2012-04-131-7/+8
* Revert "only mutate the scope object in the `bind` method"Aaron Patterson2012-02-271-1/+1
* only mutate the scope object in the `bind` methodAaron Patterson2012-02-271-1/+1
* bind value creation refactoringAaron Patterson2012-02-271-4/+10
* removing dead codeAaron Patterson2012-02-271-3/+2
* use bind values for join columnsAaron Patterson2012-02-271-1/+16
* fix associations when using per class databasesLars Kanis2012-02-101-1/+1
* Deprecate inferred JOINs with includes + SQL snippets.Jon Leighton2012-01-161-1/+1
* Avoid sanitize_sql when we can use Relation#where insteadJon Leighton2012-01-161-2/+5