Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build SQL AST nodes rather than generate strings | Aaron Patterson | 2010-12-16 | 1 | -10/+8 |
| | |||||
* | construct_joins no longer needs an argument | Aaron Patterson | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | supporting arel AST nodes when building join statements | Aaron Patterson | 2010-12-16 | 1 | -15/+17 |
| | |||||
* | just copy the joins to the list | Aaron Patterson | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | taking advantage of the JoinSource node in the SQL AST | Aaron Patterson | 2010-12-16 | 2 | -15/+6 |
| | |||||
* | just use the regexp directly | Aaron Patterson | 2010-12-16 | 1 | -6/+4 |
| | |||||
* | combine regexp | Aaron Patterson | 2010-12-16 | 1 | -4/+2 |
| | |||||
* | move ivar to initialize, use triple dot rather than minus | Aaron Patterson | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | explicitly set prefix | Aaron Patterson | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | remove lasgn since AST is mutated | Aaron Patterson | 2010-12-16 | 1 | -2/+8 |
| | |||||
* | use table alias nodes rather than Table nodes | Aaron Patterson | 2010-12-10 | 1 | -3/+2 |
| | |||||
* | use alias nodes to represent table aliases | Aaron Patterson | 2010-12-10 | 1 | -3/+2 |
| | |||||
* | avoid *args on join_target_table | Aaron Patterson | 2010-12-10 | 1 | -3/+5 |
| | |||||
* | only quote the table name once per call | Aaron Patterson | 2010-12-10 | 1 | -6/+7 |
| | |||||
* | move join creation a little closer to where it is used | Aaron Patterson | 2010-12-09 | 1 | -3/+3 |
| | |||||
* | use inject rather than lasgn | Aaron Patterson | 2010-12-09 | 1 | -6/+5 |
| | |||||
* | removing useless lasgn | Aaron Patterson | 2010-12-09 | 1 | -1/+1 |
| | |||||
* | use sort_by | Aaron Patterson | 2010-12-08 | 1 | -1/+1 |
| | |||||
* | just allocate the table in initialize | Aaron Patterson | 2010-12-08 | 1 | -6/+4 |
| | |||||
* | fewer method calls, fewer code branches | Aaron Patterson | 2010-12-08 | 1 | -5/+4 |
| | |||||
* | only call active_record once | Aaron Patterson | 2010-12-08 | 1 | -2/+4 |
| | |||||
* | dry up calls to table_aliases | Aaron Patterson | 2010-12-08 | 1 | -4/+6 |
| | |||||
* | remove code that could never be executed | Aaron Patterson | 2010-12-08 | 1 | -4/+0 |
| | |||||
* | have table_aliases call count_aliases to set the default value | Aaron Patterson | 2010-12-08 | 2 | -5/+3 |
| | |||||
* | arel ignores the columns parameter | Aaron Patterson | 2010-12-08 | 1 | -2/+1 |
| | |||||
* | passing the ast to a table when the relation is a table | Aaron Patterson | 2010-12-07 | 1 | -2/+0 |
| | |||||
* | JoinDependency is always created with an AST now | Aaron Patterson | 2010-12-07 | 1 | -4/+10 |
| | |||||
* | passing the ast to JoinDependency | Aaron Patterson | 2010-12-07 | 1 | -2/+11 |
| | |||||
* | arel is lazy about column information, so no need to pass it around | Aaron Patterson | 2010-12-07 | 1 | -1/+1 |
| | |||||
* | reduce string objects, reduce method calls | Aaron Patterson | 2010-12-07 | 1 | -4/+5 |
| | |||||
* | save the AR reference rather than delegating | Aaron Patterson | 2010-12-07 | 1 | -4/+5 |
| | |||||
* | remove calls to deprecated methods | Aaron Patterson | 2010-12-02 | 1 | -2/+3 |
| | |||||
* | removing more calls to deprecated methods | Aaron Patterson | 2010-12-02 | 1 | -2/+3 |
| | |||||
* | removing some calls to insert on arel | Aaron Patterson | 2010-12-02 | 1 | -3/+4 |
| | |||||
* | no need for self | Aaron Patterson | 2010-12-01 | 1 | -1/+1 |
| | |||||
* | JoinBase initialize can be deleted | Aaron Patterson | 2010-11-30 | 2 | -10/+3 |
| | |||||
* | removing interpolate_sql from join associations | Aaron Patterson | 2010-11-29 | 1 | -5/+1 |
| | |||||
* | moving method to subclass that actually uses the method | Aaron Patterson | 2010-11-29 | 2 | -1/+5 |
| | |||||
* | Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584b | José Valim | 2010-11-28 | 6 | -18/+18 |
| | |||||
* | nil check unneeded ht. exviva | Santiago Pastorino | 2010-11-25 | 1 | -1/+1 |
| | |||||
* | Remove explicit return. | Emilio Tagua | 2010-11-25 | 1 | -2/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Use ternary instead explicit return. | Emilio Tagua | 2010-11-25 | 1 | -2/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Remove return, we are already returning self. | Emilio Tagua | 2010-11-25 | 1 | -6/+6 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | alias should be a SQL literal | Aaron Patterson | 2010-11-24 | 1 | -1/+1 |
| | |||||
* | initialize instance variables in initialize... o_O | Aaron Patterson | 2010-11-24 | 1 | -2/+2 |
| | |||||
* | adding a factory method to the join part for generating a table alias | Aaron Patterson | 2010-11-24 | 2 | -1/+5 |
| | |||||
* | use ARel rather than generate SQL strings | Aaron Patterson | 2010-11-24 | 1 | -2/+3 |
| | |||||
* | remove useless join | Aaron Patterson | 2010-11-24 | 1 | -1/+1 |
| | |||||
* | moving column_aliases to JoinDependency | Aaron Patterson | 2010-11-24 | 1 | -0/+8 |
| | |||||
* | reduce method calls | Aaron Patterson | 2010-11-24 | 1 | -1/+1 |
| |