aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-11-232-2/+3
|\
| * fix typoRay Baxter2010-11-221-1/+1
| |
| * Merge branch 'master' of github.com:lifo/docrailsNeeraj Singh2010-11-2247-273/+862
| |\
| * | Revert "unscoped takes care of named_scopes too"Neeraj Singh2010-11-221-1/+2
| | | | | | | | | | | | This reverts commit 126fbd7ed8a310bf940414c1b7ddab06b03d400e.
| * | unscoped takes care of named_scopes tooNeeraj Singh2010-11-171-2/+1
| | |
* | | Refactor && simplify count_records.Emilio Tagua2010-11-231-5/+1
| | |
* | | No need to create a variables to use them once.Emilio Tagua2010-11-241-5/+2
| | |
* | | Don't create local vars.Emilio Tagua2010-11-241-4/+1
| | |
* | | Avoid creating local var.Emilio Tagua2010-11-241-2/+1
| | |
* | | Remove explicit return and avoid creating local var.Emilio Tagua2010-11-241-2/+1
| | |
* | | Remove explicit return.Emilio Tagua2010-11-241-1/+1
| | |
* | | Use params default.Emilio Tagua2010-11-241-2/+1
| | |
* | | Remove unneeded local var.Emilio Tagua2010-11-241-2/+1
| | |
* | | Remove uneeded local var definition.Emilio Tagua2010-11-241-2/+1
| | |
* | | Remove confusing parenthesis.Emilio Tagua2010-11-241-1/+1
| | |
* | | No need to define a local var here.Emilio Tagua2010-11-241-2/+1
| | |
* | | skip cloning if arguments are blankAaron Patterson2010-11-221-8/+22
| | |
* | | removing space errorAaron Patterson2010-11-221-1/+1
| | |
* | | removing unused variablesAaron Patterson2010-11-226-12/+7
| | |
* | | Removed ids_in_list_limit in favor of in_clause_length defined in ↵Alex Rothenberg2010-11-233-14/+9
| |/ |/| | | | | database_limits.rb
* | unscoped takes care of named_scopes tooNeeraj Singh2010-11-211-2/+1
| |
* | removed an AR method which wasn't used internally, had no tests, and had no docsJosh Kalderimis2010-11-201-4/+0
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | class inheritable attributes is used no more! all internal use of class ↵Josh Kalderimis2010-11-2010-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 Patterson2010-11-191-5/+0
| | | | | | | | declared it as a dependency
* | wtf vimAaron Patterson2010-11-191-1/+1
| |
* | fisting typeo, thanks @vinibaggioAaron Patterson2010-11-191-1/+1
| |
* | adding documentation for reversible migrationsAaron Patterson2010-11-192-1/+43
| |
* | adding Migration#change to the CHANGELOGAaron Patterson2010-11-191-0/+18
| |
* | fisting my spelling errorsAaron Patterson2010-11-191-6/+6
| |
* | testing a non-invertible migration caseAaron Patterson2010-11-191-3/+23
| |
* | invertable migrations are workingAaron Patterson2010-11-193-7/+20
| |
* | command recorder will record commands sent to a delegate objectAaron Patterson2010-11-192-3/+35
| |
* | adding invertable migration testAaron Patterson2010-11-191-0/+42
| |
* | updating documentationAaron Patterson2010-11-191-1/+7
| |
* | IrreversibleMigration is raised if we cannot invert the commandAaron Patterson2010-11-192-1/+12
| |
* | commands are reversedAaron Patterson2010-11-192-1/+8
| |
* | add and remove timestamps can be invertedAaron Patterson2010-11-191-0/+8
| |
* | inverting add_indexAaron Patterson2010-11-191-0/+5
| |
* | partial implementation of the command recorderAaron Patterson2010-11-193-0/+122
| |
* | this return value is not used, so stop returning itAaron Patterson2010-11-191-4/+1
| |
* | instantiate the delegate object after initialize is defined so that our ↵Aaron Patterson2010-11-191-3/+4
| | | | | | | | initialize method actually gets called
* | connection is set from the connection pool during migrationsAaron Patterson2010-11-181-4/+10
| |
* | testing multiple ORd queriesAaron Patterson2010-11-181-0/+12
| |
* | removing space errorsAaron Patterson2010-11-182-2/+2
| |
* | Adapters can specify maximum number of ids they support in a list of expressionsAlex Rothenberg2010-11-183-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 onlyAaron Patterson2010-11-171-6/+3
| |
* | When use where more than once on the same column, relation doesn't do an ↵Santiago Pastorino2010-11-171-0/+9
| | | | | | | | 'or' or 'in' with the values
* | collapsing same table / column WHERE clauses to be OR [#4598 state:resolved]Aaron Patterson2010-11-171-4/+25
| |
* | use shorter form for sql literalsAaron Patterson2010-11-171-1/+1
| |
* | Fix bug with 0bb85ed9ffa9808926b46e8f7e59cab5b85ac19f which missed out a ↵Jon Leighton2010-11-171-1/+2
| | | | | | | | fixtures declaration in cascaded_eager_loading_test.rb