Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | |
| | | ||||||
* | | making relationship merge cheaper | Aaron Patterson | 2010-11-30 | 1 | -3/+4 | |
| | | ||||||
* | | cleaning up where_values_hash | Aaron Patterson | 2010-11-30 | 1 | -7/+7 | |
| | | ||||||
* | | 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 | 12 | -47/+48 | |
| | | ||||||
* | | removes a couple of redundant selfs | Xavier Noria | 2010-11-26 | 1 | -2/+2 | |
| | | ||||||
* | | 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> | |||||
* | | Remove explicit return. | Emilio Tagua | 2010-11-25 | 1 | -1/+1 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Reuse lock_col variable instead calling locking_column class method. | Emilio Tagua | 2010-11-25 | 1 | -3/+4 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Don't depend on rubygems loading thread (for Mutex) | raggi | 2010-11-25 | 1 | -0/+1 | |
| | | ||||||
* | | 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 | 2 | -3/+4 | |
| | | ||||||
* | | remove useless join | Aaron Patterson | 2010-11-24 | 1 | -1/+1 | |
| | | ||||||
* | | moving column_aliases to JoinDependency | Aaron Patterson | 2010-11-24 | 2 | -10/+9 | |
| | | ||||||
* | | reduce method calls | Aaron Patterson | 2010-11-24 | 1 | -1/+1 | |
| | | ||||||
* | | If a nested_attribute is being marked for destruction and at the same time ↵ | Neeraj Singh | 2010-11-24 | 1 | -5/+2 | |
| | | | | | | | | | | | | | | | | an attr_accessor value is being assigned then the value being assigned is being ignored. This patch is a fix for that issue. [#5939 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Document the behavior of the dup method: does not preserve timestamps | Franck Verrot | 2010-11-25 | 1 | -0/+1 | |
| | | ||||||
* | | Typo in the comments of the clear_timestamp_attributes method | Franck Verrot | 2010-11-25 | 1 | -1/+1 | |
| | | ||||||
* | | Dup should reset the timestamps as it is considered a new record | Franck Verrot | 2010-11-25 | 1 | -0/+11 | |
| | | ||||||
* | | removing ternary | Aaron Patterson | 2010-11-23 | 1 | -1/+1 | |
| | | ||||||
* | | breaking classes up in to respective files | Aaron Patterson | 2010-11-23 | 5 | -574/+605 | |
| | | ||||||
* | | just wrap as a sql literal | Aaron Patterson | 2010-11-23 | 1 | -2/+1 | |
| | |