Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | removing ternary | Aaron Patterson | 2010-11-23 | 1 | -1/+1 |
| | |||||
* | breaking classes up in to respective files | Aaron Patterson | 2010-11-23 | 4 | -0/+604 |
| | |||||
* | Refactor && simplify count_records. | Emilio Tagua | 2010-11-23 | 1 | -5/+1 |
| | |||||
* | Remove explicit return and avoid creating local var. | Emilio Tagua | 2010-11-24 | 1 | -2/+1 |
| | |||||
* | Remove explicit return. | Emilio Tagua | 2010-11-24 | 1 | -1/+1 |
| | |||||
* | removing space error | Aaron Patterson | 2010-11-22 | 1 | -1/+1 |
| | |||||
* | removing unused variables | Aaron Patterson | 2010-11-22 | 1 | -2/+2 |
| | |||||
* | class inheritable attributes is used no more! all internal use of class ↵ | Josh Kalderimis | 2010-11-20 | 1 | -1/+1 |
| | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | super automatically passes on the implicit block | Aaron Patterson | 2010-11-16 | 1 | -5/+1 |
| | |||||
* | use unless instead of if ! | Aaron Patterson | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | removing space errors | Aaron Patterson | 2010-11-16 | 2 | -5/+5 |
| | |||||
* | reloading an association will properly set attributes of instantiated ↵ | Aaron Patterson | 2010-11-16 | 1 | -1/+3 |
| | | | | objects. Thanks Brian Palmer [#5802 state:resolved] | ||||
* | refactoring uniq method | Aaron Patterson | 2010-11-16 | 1 | -7/+4 |
| | |||||
* | if association is already loaded and if a find operation is performed on the ↵ | Neeraj Singh | 2010-11-15 | 1 | -1/+2 |
| | | | | | | already loaded association list with an empty hash then do not perform another sql [#5972 state:resolved] | ||||
* | Remove unused var | Santiago Pastorino | 2010-11-14 | 1 | -1/+1 |
| |