Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Do not send id for quoting twice if the primary key is string. | Neeraj Singh | 2010-11-23 | 1 | -1/+2 |
| | | | | [#6022 state:resolved] | ||||
* | clone and dup are working on 1.8 | Aaron Patterson | 2010-11-23 | 1 | -3/+12 |
| | |||||
* | fixing dup regressions | Aaron Patterson | 2010-11-23 | 1 | -4/+8 |
| | |||||
* | fixing more dup tests | Aaron Patterson | 2010-11-23 | 1 | -4/+4 |
| | |||||
* | initialize_clone can go away | Aaron Patterson | 2010-11-23 | 1 | -5/+0 |
| | |||||
* | dup keeps changes | Aaron Patterson | 2010-11-23 | 1 | -28/+21 |
| | |||||
* | dup is working better | Aaron Patterson | 2010-11-23 | 1 | -4/+8 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-11-23 | 2 | -2/+3 |
|\ | |||||
| * | fix typo | Ray Baxter | 2010-11-22 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' of github.com:lifo/docrails | Neeraj Singh | 2010-11-22 | 22 | -225/+438 |
| |\ | |||||
| * | | Revert "unscoped takes care of named_scopes too" | Neeraj Singh | 2010-11-22 | 1 | -1/+2 |
| | | | | | | | | | | | | This reverts commit 126fbd7ed8a310bf940414c1b7ddab06b03d400e. | ||||
| * | | unscoped takes care of named_scopes too | Neeraj Singh | 2010-11-17 | 1 | -2/+1 |
| | | | |||||
* | | | Refactor && simplify count_records. | Emilio Tagua | 2010-11-23 | 1 | -5/+1 |
| | | | |||||
* | | | No need to create a variables to use them once. | Emilio Tagua | 2010-11-24 | 1 | -5/+2 |
| | | | |||||
* | | | Don't create local vars. | Emilio Tagua | 2010-11-24 | 1 | -4/+1 |
| | | | |||||
* | | | Avoid creating local var. | Emilio Tagua | 2010-11-24 | 1 | -2/+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 |
| | | | |||||
* | | | Use params default. | Emilio Tagua | 2010-11-24 | 1 | -2/+1 |
| | | | |||||
* | | | Remove unneeded local var. | Emilio Tagua | 2010-11-24 | 1 | -2/+1 |
| | | | |||||
* | | | Remove uneeded local var definition. | Emilio Tagua | 2010-11-24 | 1 | -2/+1 |
| | | | |||||
* | | | Remove confusing parenthesis. | Emilio Tagua | 2010-11-24 | 1 | -1/+1 |
| | | | |||||
* | | | No need to define a local var here. | Emilio Tagua | 2010-11-24 | 1 | -2/+1 |
| | | | |||||
* | | | skip cloning if arguments are blank | Aaron Patterson | 2010-11-22 | 1 | -8/+22 |
| | | | |||||
* | | | removing space error | Aaron Patterson | 2010-11-22 | 1 | -1/+1 |
| | | | |||||
* | | | removing unused variables | Aaron Patterson | 2010-11-22 | 1 | -2/+2 |
| | | | |||||
* | | | Removed ids_in_list_limit in favor of in_clause_length defined in ↵ | Alex Rothenberg | 2010-11-23 | 2 | -7/+2 |
| |/ |/| | | | | | database_limits.rb | ||||
* | | unscoped takes care of named_scopes too | Neeraj Singh | 2010-11-21 | 1 | -2/+1 |
| | |