Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | fisting the postgresql tests | Aaron Patterson | 2010-09-28 | 1 | -1/+2 | |
| | ||||||
* | avoid calling to_sql when we can | Aaron Patterson | 2010-09-28 | 2 | -4/+4 | |
| | ||||||
* | removing an inject + merge in favor of Hash#[] | Aaron Patterson | 2010-09-28 | 1 | -1/+1 | |
| | ||||||
* | make sure we use the engine assigned to the table when quoting | Aaron Patterson | 2010-09-27 | 1 | -1/+1 | |
| | ||||||
* | Three performance improvements: | Neeraj Singh | 2010-09-27 | 1 | -10/+9 | |
| | | | | | | | | * for simple cases like User.last and User.order('name desc').last no need to perform Array#join operation. * Instead of performing String#blank? do Array#empty? * no need to create variable relation | |||||
* | Goodbye inject, hello map. | Emilio Tagua | 2010-09-22 | 1 | -7/+5 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | un-nodocs AR::Batches | Xavier Noria | 2010-09-21 | 1 | -1/+1 | |
| | ||||||
* | adds to the API guidelines the proper spelling of Arel | Xavier Noria | 2010-09-19 | 1 | -2/+2 | |
| | ||||||
* | @join_values is passed in, so we should use the parameter | Aaron Patterson | 2010-09-15 | 1 | -1/+1 | |
| | ||||||
* | passing the quoted id to arel if the object has a quoted id | Aaron Patterson | 2010-09-10 | 1 | -1/+3 | |
| | ||||||
* | converting an inject to a map + Hash[] | Aaron Patterson | 2010-09-10 | 1 | -1/+1 | |
| | ||||||
* | avoid method_missing and reduce method calls | Aaron Patterson | 2010-09-10 | 1 | -1/+1 | |
| | ||||||
* | intersection between a relation and an array works in both directions | Marcelo Giorgi | 2010-09-10 | 1 | -0/+1 | |
| | | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com> | |||||
* | Refactor finder conditions look up and assigment for apply_finder_conditions. | Emilio Tagua | 2010-09-09 | 1 | -13/+7 | |
| | ||||||
* | Refactor Relation#only. No need to go through every option and test it. | Emilio Tagua | 2010-09-09 | 1 | -8/+6 | |
| | ||||||
* | No need to go through every option and test it, just don't add skipped ones. | Emilio Tagua | 2010-09-09 | 1 | -4/+4 | |
| | ||||||
* | return is not needed here | Neeraj Singh | 2010-09-09 | 1 | -2/+2 | |
| | ||||||
* | remove unnecessary call | Neeraj Singh | 2010-09-09 | 1 | -1/+0 | |
| | | | | if operation is count then column_name will never be blank | |||||
* | creating a new array is required. who knew? :-( | Aaron Patterson | 2010-09-09 | 1 | -1/+1 | |
| | ||||||
* | no need for Array.wrap, also avoid array creation | Aaron Patterson | 2010-09-09 | 1 | -5/+4 | |
| |