aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/query_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* Revert "Fixes bug in ActiveRecord::QueryMethods, #1697"Jon Leighton2011-09-041-2/+4
* Fixes bug in ActiveRecord::QueryMethods, #1697Joshua Wehner2011-08-311-4/+2
* The join_nodes must be passed to the JoinDependency initializer and therefore...Jon Leighton2011-08-291-7/+2
* Revert "Merge pull request #2309 from smasry/master"Jon Leighton2011-07-281-1/+1
* Reverse order fix when using function for ActiveRecord::QueryMethods Fixes #1697Samer Masry2011-07-271-1/+1
* Revert "allow select to have multiple arguments"Piotr Sarnacki2011-07-261-6/+3
* allow select to have multiple argumentsSławosz Sławiński2011-07-261-3/+6
* Ordering with extra spaces was raising a SQL exceptionFranck Verrot2011-07-241-0/+1
* fix AR having() not to raise NoMethodError when the given argument does not r...Akira Matsuda2011-07-091-3/+3
* Remove case statement changes from 2e0840d and 56ac32a. Inheritance FTW.Ernie Miller2011-07-061-1/+1
* Fix caseOriol Gual2011-06-281-2/+1
* Update reverse order with new Arel NodesOriol Gual2011-06-281-1/+2
* default create_with_value to a hash so we can eliminate conditionals, add tes...Aaron Patterson2011-06-271-1/+1
* Support reversal of ARel orderings in reverse_sql_orderErnie Miller2011-06-201-3/+12
* Fix issue #1272Brian Mathiyakom2011-06-011-8/+7
* Evaluate default scopes at the last possible moment in order to avoid problem...Jon Leighton2011-04-121-4/+10
* Bring #reorder backSebastian Martinez2011-03-281-0/+4
* Resolve some TODO comments which I decided did not need anything doneJon Leighton2011-03-121-1/+0
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-37/+41
|\
| * Move JoinDependency and friends from ActiveRecord::Associations::ClassMethods...Jon Leighton2011-02-281-2/+2
| * use an attribute rather than a SQL literalAaron Patterson2011-02-261-1/+1
| * explicitly allowing lolqueriesAaron Patterson2011-02-161-10/+1
| * limit() should sanitize limit valuesAaron Patterson2011-02-081-1/+1
| * ActiveRecord::Relation#primary_key should return a string, just like ActiveRe...Jon Leighton2011-01-031-1/+1
| * Make Relation#create_with always merge rather than overwrite, not just when m...Jon Leighton2011-01-031-1/+1
| * ActiveRecord::Base.joins should allow single nil argument [#6181 state:resolved]Piotr Sarnacki2010-12-161-1/+1
| * make sure that join nodes are uniqAaron Patterson2010-12-161-1/+1
| * supporting arel AST nodes when building join statementsAaron Patterson2010-12-161-3/+15
| * bucketing based on join typeAaron Patterson2010-12-161-8/+17
| * taking advantage of the JoinSource node in the SQL ASTAaron Patterson2010-12-161-16/+7
| * remove lasgn since AST is mutatedAaron Patterson2010-12-161-1/+1
| * just mutate the ast, fewer lasgnsAaron Patterson2010-12-161-3/+2
* | remove lasgn since AST is mutatedAaron Patterson2010-12-101-1/+1
* | just mutate the ast, fewer lasgnsAaron Patterson2010-12-101-3/+2
|/
* no more manager manipulation if there is no custom join astAaron Patterson2010-12-101-6/+5
* froms should never equal 0Aaron Patterson2010-12-101-2/+0
* manager will always be a managerAaron Patterson2010-12-101-10/+6
* eliminate lasgnsAaron Patterson2010-12-101-10/+10
* dealing with an AST manager, not a relation, so fix the variable namesAaron Patterson2010-12-101-12/+12
* adding a fixme commentAaron Patterson2010-12-081-0/+1
* renaming variables, making the join_ast method privateAaron Patterson2010-12-081-51/+27
* further reducing dependence on custom_joinsAaron Patterson2010-12-081-0/+2
* reducing use of custom joinsAaron Patterson2010-12-081-1/+6
* passing the ast to a table when the relation is a tableAaron Patterson2010-12-071-3/+20
* JoinDependency is always created with an AST nowAaron Patterson2010-12-071-1/+15
* cleaning up custom_join_sql methodAaron Patterson2010-12-071-4/+6
* fix warnings, stop using global variablesAaron Patterson2010-11-301-4/+2
* stop using splat args when we do not need themAaron Patterson2010-11-301-2/+2
* reduce method calls on arelAaron Patterson2010-11-301-1/+1
* skip cloning if arguments are blankAaron Patterson2010-11-221-8/+22