aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
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-2222-225/+438
| |\
| * | 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-221-2/+2
| | |
* | | Removed ids_in_list_limit in favor of in_clause_length defined in ↵Alex Rothenberg2010-11-232-7/+2
| |/ |/| | | | | 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-209-40/+55
| | | | | | | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com>
* | adding documentation for reversible migrationsAaron Patterson2010-11-192-1/+43
| |
* | invertable migrations are workingAaron Patterson2010-11-192-2/+20
| |
* | command recorder will record commands sent to a delegate objectAaron Patterson2010-11-191-3/+13
| |
* | updating documentationAaron Patterson2010-11-191-1/+7
| |
* | IrreversibleMigration is raised if we cannot invert the commandAaron Patterson2010-11-191-1/+5
| |
* | commands are reversedAaron Patterson2010-11-191-1/+1
| |
* | 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-192-0/+50
| |
* | 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
| |
* | removing space errorsAaron Patterson2010-11-181-1/+1
| |
* | Adapters can specify maximum number of ids they support in a list of expressionsAlex Rothenberg2010-11-182-5/+26
| | | | | | | | | | (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
| |
* | 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
| |
* | replace and with && as per rails coding conventionNeeraj Singh2010-11-181-1/+1
| |
* | remove the rescue block by returning a not asking Base for lookup_ancestors. ↵Neeraj Singh2010-11-171-5/+2
| | | | | | | | It was also marked for later optimization.
* | adding an initialize with name and version defaultsAaron Patterson2010-11-171-4/+5
| |
* | updating generatorsAaron Patterson2010-11-173-6/+6
| |
* | fixing more documentationAaron Patterson2010-11-171-3/+3
| |
* | fixing documentation, removing unused AS filesAaron Patterson2010-11-171-15/+12
| |
* | fixing indentation since these methods are not class methodsAaron Patterson2010-11-171-83/+83
| |
* | these methods are no longer neededAaron Patterson2010-11-171-8/+0
| |
* | do not need these accessorsAaron Patterson2010-11-171-8/+0
| |
* | testing instance based migrationsAaron Patterson2010-11-171-0/+2
| |