Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use the columns hash for primary key lookup | Aaron Patterson | 2010-12-03 | 1 | -1/+1 |
| | |||||
* | fix warnings, stop using global variables | Aaron Patterson | 2010-11-30 | 1 | -4/+2 |
| | |||||
* | stop using splat args when we do not need them | Aaron Patterson | 2010-11-30 | 1 | -2/+2 |
| | |||||
* | just grep the AST for OuterJoin nodes rather than converting the tree to SQL | Aaron Patterson | 2010-11-30 | 1 | -1/+1 |
| | |||||
* | reduce method calls on arel | Aaron Patterson | 2010-11-30 | 3 | -3/+3 |
| | |||||
* | making relationship merge cheaper | Aaron Patterson | 2010-11-30 | 1 | -3/+4 |
| | |||||
* | use ARel rather than generate SQL strings | Aaron Patterson | 2010-11-24 | 1 | -1/+1 |
| | |||||
* | moving column_aliases to JoinDependency | Aaron Patterson | 2010-11-24 | 1 | -10/+1 |
| | |||||
* | just wrap as a sql literal | Aaron Patterson | 2010-11-23 | 1 | -2/+1 |
| | |||||
* | Do not send id for quoting twice if the primary key is string. | Neeraj Singh | 2010-11-23 | 1 | -1/+2 |
| | | | | [#6022 state:resolved] | ||||
* | skip cloning if arguments are blank | Aaron Patterson | 2010-11-22 | 1 | -8/+22 |
| | |||||
* | group can be done by left side only | Aaron Patterson | 2010-11-17 | 1 | -6/+3 |
| | |||||
* | collapsing same table / column WHERE clauses to be OR [#4598 state:resolved] | Aaron Patterson | 2010-11-17 | 1 | -4/+25 |
| | |||||
* | use shorter form for sql literals | Aaron Patterson | 2010-11-17 | 1 | -1/+1 |
| | |||||
* | refactor to reduce method calls | Aaron Patterson | 2010-11-16 | 1 | -10/+19 |
| | |||||
* | Fix ActiveRecord calculations when grouped by multiple fields | Alexandru Catighera | 2010-11-16 | 1 | -14/+18 |
| | |||||
* | support finding by a ruby class [#5979 state:resolved] | Aaron Patterson | 2010-11-15 | 1 | -0/+3 |
| | |||||
* | use quoted id of single AR::Base objects in predicates | Aaron Patterson | 2010-11-15 | 1 | -0/+2 |
| | |||||
* | Finder gives a little bit more info on the lookup column (primary key) | Franck Verrot | 2010-11-13 | 1 | -1/+1 |
| | |||||
* | stop recursively calling exists? | Aaron Patterson | 2010-11-05 | 1 | -3/+5 |
| | |||||
* | Fixes queries using limits and punctuation in order, removes order("col1, ↵ | Santiago Pastorino | 2010-11-05 | 1 | -1/+1 |
| | | | | | | col2") usage in favor of order(["col1", "col2"}) [#4597 state:committed] | ||||
* | only returning where values for the corresponding relation, also filtering ↵ | Aaron Patterson | 2010-10-30 | 1 | -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 added | Aaron Patterson | 2010-10-30 | 1 | -11/+13 |
| | |||||
* | find_one uses prepared statement cache | Aaron Patterson | 2010-10-26 | 1 | -1/+6 |
| | |||||
* | adding bind_values to relations | Aaron Patterson | 2010-10-26 | 1 | -1/+8 |
| | |||||
* | reduce duplicate where removal to one loop | Aaron Patterson | 2010-10-20 | 1 | -15/+13 |
| | |||||
* | swap out some n^2 for some n | Aaron Patterson | 2010-10-19 | 1 | -7/+13 |
| | |||||
* | dup rather than create so many arrays | Aaron Patterson | 2010-10-19 | 1 | -2/+2 |
| | |||||
* | use array math rather than looping through the array | Aaron Patterson | 2010-10-19 | 1 | -1/+1 |
| | |||||
* | use shortened version to generate a sql literal | Aaron Patterson | 2010-10-19 | 1 | -1/+1 |
| | |||||
* | avoid cloning if we do not need to clone | Aaron Patterson | 2010-10-19 | 1 | -0/+2 |
| | |||||
* | avoid creating a proc object when possible | Aaron Patterson | 2010-10-19 | 1 | -2/+2 |
| | |||||
* | Renaming and formatting changes in JoinDependency | Jon Leighton | 2010-10-13 | 1 | -2/+5 |
| | |||||
* | Refactor JoinDependency and friends so that a JoinAssociation can produce an ↵ | Jon Leighton | 2010-10-13 | 1 | -12/+1 |
| | | | | arbitrary number of joins, which will be needed in order to support nested through associations. | ||||
* | stop using deprecated arel API | Aaron Patterson | 2010-10-12 | 1 | -2/+2 |
| | |||||
* | we should always cast the value based on the column | Aaron Patterson | 2010-10-11 | 1 | -1/+1 |
| | |||||
* | Honor distinct option when used with count operation after group clause ↵ | Marcelo Giorgi | 2010-10-11 | 1 | -4/+8 |
| | | | | [#5721 state:resolved] | ||||
* | reorder removed in favor of except(:order).order | Santiago Pastorino | 2010-10-11 | 2 | -20/+2 |
| | |||||
* | avoid creating objects when we can | Aaron Patterson | 2010-10-03 | 2 | -12/+6 |
| | |||||
* | build_where should be private | Aaron Patterson | 2010-09-30 | 1 | -2/+2 |
| | |||||
* | [#5441 state:resolved] refactoring code to determine aggregate column | Aaron Patterson | 2010-09-30 | 1 | -11/+14 |
| | |||||
* | removing more useless code! yay! | Aaron Patterson | 2010-09-28 | 1 | -6/+2 |
| | |||||
* | SqlLiteral is a string, so we can dry up these conditionals | Aaron Patterson | 2010-09-28 | 1 | -4/+3 |
| | |||||
* | shorten up or sql literal creation statements | Aaron Patterson | 2010-09-28 | 1 | -4/+2 |
| | |||||
* | we only care about arrays and strings | Aaron Patterson | 2010-09-28 | 1 | -1/+1 |
| | |||||
* | dry up calls to arel.join() | Aaron Patterson | 2010-09-28 | 1 | -5/+4 |
| | |||||
* | removing unused lasgns | Aaron Patterson | 2010-09-28 | 1 | -4/+4 |
| | |||||
* | refactoring to remove crazy logic | Aaron Patterson | 2010-09-28 | 2 | -9/+6 |
| | |||||
* | performance improvement based on discussion at ↵ | Neeraj Singh | 2010-09-28 | 1 | -9/+3 |
| | | | | | | http://github.com/rails/rails/commit/fbd1d306b95cc2efb6422e12d26d5818a3a42343 Credit goes to all the participants in the discussion | ||||
* | removing a conditional that is not used | Aaron Patterson | 2010-09-28 | 1 | -2/+0 |
| |