Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | |
| | | ||||||
* | | adding a fixme comment | Aaron Patterson | 2010-12-08 | 1 | -0/+1 | |
| | | ||||||
* | | renaming variables, making the join_ast method private | Aaron Patterson | 2010-12-08 | 1 | -51/+27 | |
| | | ||||||
* | | further reducing dependence on custom_joins | Aaron Patterson | 2010-12-08 | 1 | -0/+2 | |
| | | ||||||
* | | reducing use of custom joins | Aaron Patterson | 2010-12-08 | 1 | -1/+6 | |
| | | ||||||
* | | passing the ast to a table when the relation is a table | Aaron Patterson | 2010-12-07 | 2 | -5/+20 | |
| | | ||||||
* | | JoinDependency is always created with an AST now | Aaron Patterson | 2010-12-07 | 2 | -5/+25 | |
| | | ||||||
* | | passing the ast to JoinDependency | Aaron Patterson | 2010-12-07 | 2 | -3/+12 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | cleaning up custom_join_sql method | Aaron Patterson | 2010-12-07 | 1 | -4/+6 | |
| | | ||||||
* | | We can use the keys of the @attributes hash here and avoid a method call | Santiago Pastorino | 2010-12-05 | 1 | -1/+1 | |
| | | ||||||
* | | use map instead of each | Santiago Pastorino | 2010-12-05 | 1 | -3/+1 | |
| | | ||||||
* | | Fix indentation here | Santiago Pastorino | 2010-12-04 | 1 | -7/+8 | |
| | | ||||||
* | | attributes_before_type_cast are just the value of @attributes | Santiago Pastorino | 2010-12-04 | 1 | -1/+1 | |
| | | ||||||
* | | use the columns hash for primary key lookup | Aaron Patterson | 2010-12-03 | 1 | -1/+1 | |
| | | ||||||
* | | in the middle of refactoring | Aaron Patterson | 2010-12-03 | 1 | -0/+4 | |
| | | ||||||
* | | remove calls to deprecated methods | Aaron Patterson | 2010-12-02 | 2 | -3/+5 | |
| | | ||||||
* | | avoid deprecate api | Aaron Patterson | 2010-12-02 | 1 | -1/+8 | |
| | | ||||||
* | | removing more calls to deprecated methods | Aaron Patterson | 2010-12-02 | 1 | -2/+4 | |
| | | ||||||
* | | removing more calls to deprecated methods | Aaron Patterson | 2010-12-02 | 3 | -4/+7 | |
| | | ||||||
* | | removing calls to deprecated methods | Aaron Patterson | 2010-12-02 | 1 | -1/+2 | |
| | | ||||||
* | | refactor `self.class` to a variable | Aaron Patterson | 2010-12-02 | 1 | -1/+2 | |
| | | ||||||
* | | Base#[] and Base#[]= are aliases so implement them as aliases :) | Santiago Pastorino | 2010-12-02 | 1 | -13/+11 | |
| | | ||||||
* | | Doesn't need to sort, lets users of attribute_names sort them if they want | Santiago Pastorino | 2010-12-02 | 1 | -2/+2 | |
| | | ||||||
* | | avoiding deprecated methods in arel | Aaron Patterson | 2010-12-02 | 1 | -1/+2 | |
| | | ||||||
* | | removing some calls to insert on arel | Aaron Patterson | 2010-12-02 | 1 | -3/+4 | |
| | | ||||||
* | | made in_clause_length default nil (no limit) | Alex Rothenberg | 2010-12-02 | 1 | -2/+2 | |
| | | ||||||
* | | Work around a strange piece of Syck behaviour where it checks ↵ | Michael Koziarski | 2010-12-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | Model#respond_to? before initializing the object. Things like YAML.load(YAML.dump(@post)) won't work without this. | |||||
* | | no need for self | Aaron Patterson | 2010-12-01 | 1 | -1/+1 | |
| | | ||||||
* | | rolling out migrated_at until I can fix the build | Aaron Patterson | 2010-12-01 | 4 | -53/+18 | |
| | | ||||||
* | | tests mostly pass | Josh Susser | 2010-12-01 | 2 | -3/+3 | |
| | | | | | | | | | | adjust to work with instance-based migations migrated_at can't be null why must people have last names? it's killing me! | |||||
* | | clear schema_migrations in Schema.define | Josh Susser | 2010-12-01 | 2 | -6/+6 | |
| | | ||||||
* | | name in schema_migrations, migrations in schema dump | Josh Susser | 2010-12-01 | 4 | -4/+28 | |
| | | ||||||
* | | record migration timestamp when migrations run | Josh Susser | 2010-12-01 | 1 | -7/+10 | |
| | | ||||||
* | | Add migrated_at column to schema_migrations table. | Josh Susser | 2010-12-01 | 1 | -1/+9 | |
| | | ||||||
* | | fix warnings, stop using global variables | Aaron Patterson | 2010-11-30 | 1 | -4/+2 | |
| | | ||||||
* | | JoinBase initialize can be deleted | Aaron Patterson | 2010-11-30 | 2 | -10/+3 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | just call join_sql against the manager object | Aaron Patterson | 2010-11-30 | 1 | -1/+1 | |
| | | ||||||
* | | we already know it is already an array, so we do not need to make really ↵ | Aaron Patterson | 2010-11-30 | 1 | -1/+1 | |
| | | | | | | | | really sure it is an array | |||||
* | | shorten up scope_for_create | Aaron Patterson | 2010-11-30 | 1 | -7/+1 | |
| | | ||||||
* | | scope_for_create always returns something | Aaron Patterson | 2010-11-30 | 1 | -1/+3 | |
| | | ||||||
* | | Ruby 1.8, how does it work? | Aaron Patterson | 2010-11-30 | 1 | -1/+1 | |
| | | ||||||
* | | removing arel 1.0 compatibility | Aaron Patterson | 2010-11-30 | 1 | -4/+1 | |
| | | ||||||
* | | testing Relation#table_name | Aaron Patterson | 2010-11-30 | 1 | -0/+4 | |
| | |