aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* passing the ast to JoinDependencyAaron Patterson2010-12-071-1/+1
|
* cleaning up custom_join_sql methodAaron Patterson2010-12-071-4/+6
|
* use the columns hash for primary key lookupAaron Patterson2010-12-031-1/+1
|
* 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
|
* just grep the AST for OuterJoin nodes rather than converting the tree to SQLAaron Patterson2010-11-301-1/+1
|
* reduce method calls on arelAaron Patterson2010-11-303-3/+3
|
* making relationship merge cheaperAaron Patterson2010-11-301-3/+4
|
* use ARel rather than generate SQL stringsAaron Patterson2010-11-241-1/+1
|
* moving column_aliases to JoinDependencyAaron Patterson2010-11-241-10/+1
|
* just wrap as a sql literalAaron Patterson2010-11-231-2/+1
|
* Do not send id for quoting twice if the primary key is string.Neeraj Singh2010-11-231-1/+2
| | | | [#6022 state:resolved]
* skip cloning if arguments are blankAaron Patterson2010-11-221-8/+22
|
* group can be done by left side onlyAaron Patterson2010-11-171-6/+3
|
* collapsing same table / column WHERE clauses to be OR [#4598 state:resolved]Aaron Patterson2010-11-171-4/+25
|
* use shorter form for sql literalsAaron Patterson2010-11-171-1/+1
|
* refactor to reduce method callsAaron Patterson2010-11-161-10/+19
|
* Fix ActiveRecord calculations when grouped by multiple fieldsAlexandru Catighera2010-11-161-14/+18
|
* support finding by a ruby class [#5979 state:resolved]Aaron Patterson2010-11-151-0/+3
|
* use quoted id of single AR::Base objects in predicatesAaron Patterson2010-11-151-0/+2
|
* Finder gives a little bit more info on the lookup column (primary key)Franck Verrot2010-11-131-1/+1
|
* stop recursively calling exists?Aaron Patterson2010-11-051-3/+5
|
* Fixes queries using limits and punctuation in order, removes order("col1, ↵Santiago Pastorino2010-11-051-1/+1
| | | | | | col2") usage in favor of order(["col1", "col2"}) [#4597 state:committed]
* only returning where values for the corresponding relation, also filtering ↵Aaron Patterson2010-10-301-4/+5
| | | | where value hash based on table name [#5234 state:resolved] [#5184 state:resolved]
* no need to merge where values if no new where values have been addedAaron Patterson2010-10-301-11/+13
|
* find_one uses prepared statement cacheAaron Patterson2010-10-261-1/+6
|
* adding bind_values to relationsAaron Patterson2010-10-261-1/+8
|
* reduce duplicate where removal to one loopAaron Patterson2010-10-201-15/+13
|
* swap out some n^2 for some nAaron Patterson2010-10-191-7/+13
|
* dup rather than create so many arraysAaron Patterson2010-10-191-2/+2
|
* use array math rather than looping through the arrayAaron Patterson2010-10-191-1/+1
|
* use shortened version to generate a sql literalAaron Patterson2010-10-191-1/+1
|
* avoid cloning if we do not need to cloneAaron Patterson2010-10-191-0/+2
|
* avoid creating a proc object when possibleAaron Patterson2010-10-191-2/+2
|
* Renaming and formatting changes in JoinDependencyJon Leighton2010-10-131-2/+5
|
* Refactor JoinDependency and friends so that a JoinAssociation can produce an ↵Jon Leighton2010-10-131-12/+1
| | | | arbitrary number of joins, which will be needed in order to support nested through associations.
* stop using deprecated arel APIAaron Patterson2010-10-121-2/+2
|
* we should always cast the value based on the columnAaron Patterson2010-10-111-1/+1
|
* Honor distinct option when used with count operation after group clause ↵Marcelo Giorgi2010-10-111-4/+8
| | | | [#5721 state:resolved]