aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/association_scope.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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
* 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
* Revert "Deprecate implicit eager loading. Closes #950."Jon Leighton2012-01-161-1/+1
* Remove Array.wrap calls in ActiveRecordRafael Mendonça França2012-01-061-1/+1
* Deprecate implicit eager loading. Closes #950.Jon Leighton2011-12-291-1/+1
* Use uniq instead of manually putting a DISTINCT in the queryJon Leighton2011-11-051-14/+2
* Merge pull request #3030 from htanata/fix_habtm_select_query_methodJon Leighton2011-09-261-4/+0
* Fix belongs_to polymorphic with custom primary key on target.Jon Leighton2011-09-261-1/+6
* use association_primary_key in AssociationScope#add_constraintsMarian Rudzynski2011-05-261-1/+1
* Fix problem with loading polymorphic associations which have been defined in ...Jon Leighton2011-05-221-5/+15
* Fix tests under postgres - we should always put conditions in the WHERE part ...Jon Leighton2011-03-121-5/+8
* Abstract some common code from AssociationScope and JoinDependency::JoinAssoc...Jon Leighton2011-03-111-44/+12