aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* reduce method callsAaron Patterson2010-11-241-1/+1
|
* If a nested_attribute is being marked for destruction and at the same time ↵Neeraj Singh2010-11-241-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 timestampsFranck Verrot2010-11-251-0/+1
|
* Typo in the comments of the clear_timestamp_attributes methodFranck Verrot2010-11-251-1/+1
|
* Dup should reset the timestamps as it is considered a new recordFranck Verrot2010-11-251-0/+11
|
* removing ternaryAaron Patterson2010-11-231-1/+1
|
* breaking classes up in to respective filesAaron Patterson2010-11-235-574/+605
|
* just wrap as a sql literalAaron Patterson2010-11-231-2/+1
|
* Do not send id for quoting twice if the primary key is string.Neeraj Singh2010-11-231-1/+2
| | | | [#6022 state:resolved]
* clone and dup are working on 1.8Aaron Patterson2010-11-231-3/+12
|
* fixing dup regressionsAaron Patterson2010-11-231-4/+8
|
* fixing more dup testsAaron Patterson2010-11-231-4/+4
|
* initialize_clone can go awayAaron Patterson2010-11-231-5/+0
|
* dup keeps changesAaron Patterson2010-11-231-28/+21
|
* dup is working betterAaron Patterson2010-11-231-4/+8
|
* 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
| |