Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 47 | -273/+862 |
| |\ | |||||
| * | | 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 | 6 | -12/+7 |
| | | | |||||
* | | | Removed ids_in_list_limit in favor of in_clause_length defined in ↵ | Alex Rothenberg | 2010-11-23 | 3 | -14/+9 |
| |/ |/| | | | | | database_limits.rb | ||||
* | | unscoped takes care of named_scopes too | Neeraj Singh | 2010-11-21 | 1 | -2/+1 |
| | | |||||
* | | removed an AR method which wasn't used internally, had no tests, and had no docs | Josh Kalderimis | 2010-11-20 | 1 | -4/+0 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | class inheritable attributes is used no more! all internal use of class ↵ | Josh Kalderimis | 2010-11-20 | 10 | -44/+59 |
| | | | | | | | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | do not require ruby-debug automatically. please require it if you have ↵ | Aaron Patterson | 2010-11-19 | 1 | -5/+0 |
| | | | | | | | | declared it as a dependency | ||||
* | | wtf vim | Aaron Patterson | 2010-11-19 | 1 | -1/+1 |
| | | |||||
* | | fisting typeo, thanks @vinibaggio | Aaron Patterson | 2010-11-19 | 1 | -1/+1 |
| | | |||||
* | | adding documentation for reversible migrations | Aaron Patterson | 2010-11-19 | 2 | -1/+43 |
| | | |||||
* | | adding Migration#change to the CHANGELOG | Aaron Patterson | 2010-11-19 | 1 | -0/+18 |
| | | |||||
* | | fisting my spelling errors | Aaron Patterson | 2010-11-19 | 1 | -6/+6 |
| | | |||||
* | | testing a non-invertible migration case | Aaron Patterson | 2010-11-19 | 1 | -3/+23 |
| | | |||||
* | | invertable migrations are working | Aaron Patterson | 2010-11-19 | 3 | -7/+20 |
| | | |||||
* | | command recorder will record commands sent to a delegate object | Aaron Patterson | 2010-11-19 | 2 | -3/+35 |
| | | |||||
* | | adding invertable migration test | Aaron Patterson | 2010-11-19 | 1 | -0/+42 |
| | | |||||
* | | updating documentation | Aaron Patterson | 2010-11-19 | 1 | -1/+7 |
| | | |||||
* | | IrreversibleMigration is raised if we cannot invert the command | Aaron Patterson | 2010-11-19 | 2 | -1/+12 |
| | | |||||
* | | commands are reversed | Aaron Patterson | 2010-11-19 | 2 | -1/+8 |
| | | |||||
* | | add and remove timestamps can be inverted | Aaron Patterson | 2010-11-19 | 1 | -0/+8 |
| | | |||||
* | | inverting add_index | Aaron Patterson | 2010-11-19 | 1 | -0/+5 |
| | | |||||
* | | partial implementation of the command recorder | Aaron Patterson | 2010-11-19 | 3 | -0/+122 |
| | | |||||
* | | this return value is not used, so stop returning it | Aaron Patterson | 2010-11-19 | 1 | -4/+1 |
| | | |||||
* | | instantiate the delegate object after initialize is defined so that our ↵ | Aaron Patterson | 2010-11-19 | 1 | -3/+4 |
| | | | | | | | | initialize method actually gets called | ||||
* | | connection is set from the connection pool during migrations | Aaron Patterson | 2010-11-18 | 1 | -4/+10 |
| | | |||||
* | | testing multiple ORd queries | Aaron Patterson | 2010-11-18 | 1 | -0/+12 |
| | | |||||
* | | removing space errors | Aaron Patterson | 2010-11-18 | 2 | -2/+2 |
| | | |||||
* | | Adapters can specify maximum number of ids they support in a list of expressions | Alex Rothenberg | 2010-11-18 | 3 | -5/+78 |
| | | | | | | | | | | (default is nil meaning unlimited but Oracle imposes a limit of 1000) Limit is used to make multiple queries when preloading associated has_many or habtm records | ||||
* | | group can be done by left side only | Aaron Patterson | 2010-11-17 | 1 | -6/+3 |
| | | |||||
* | | When use where more than once on the same column, relation doesn't do an ↵ | Santiago Pastorino | 2010-11-17 | 1 | -0/+9 |
| | | | | | | | | 'or' or 'in' with the values | ||||
* | | collapsing same table / column WHERE clauses to be OR [#4598 state:resolved] | Aaron Patterson | 2010-11-17 | 1 | -4/+25 |
| | | |||||
* | | use shorter form for sql literals | Aaron Patterson | 2010-11-17 | 1 | -1/+1 |
| | | |||||
* | | Fix bug with 0bb85ed9ffa9808926b46e8f7e59cab5b85ac19f which missed out a ↵ | Jon Leighton | 2010-11-17 | 1 | -1/+2 |
| | | | | | | | | fixtures declaration in cascaded_eager_loading_test.rb |