aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Collapse)AuthorAgeFilesLines
* No need to check for :uniqNeeraj Singh2010-07-261-6/+3
| | | | | | [#5170 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Removing unnecessary code [#5192 state:resolved]Thiago Pradi2010-07-261-4/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Don't interpolate a blank string, avoid warningsSantiago Pastorino2010-07-261-0/+2
|
* Merge remote branch 'docrails/master'Xavier Noria2010-07-262-15/+18
|\
| * Fixes syntax error in "with_scope" exampleArkadiusz Holko2010-07-251-1/+1
| |
| * bringing consistency in commentsNeeraj Singh2010-07-241-14/+17
| |
* | Cache instrumenter again as per Aaron's patch.José Valim2010-07-251-1/+2
| |
* | Cache connection access.José Valim2010-07-252-6/+4
| |
* | Move runtime back to connection.José Valim2010-07-253-17/+15
| |
* | Revert the previous three commits.José Valim2010-07-253-20/+19
| | | | | | | | | | | | * AS::Notifications#instrument should not measure anything, it is not its responsibility; * Adding another argument to AS::Notifications#instrument API needs to be properly discussed;
* | look up connection onceAaron Patterson2010-07-251-2/+3
| |
* | cache the instrumentor for a speed gainAaron Patterson2010-07-251-2/+2
| |
* | use a hash to collect optional statistics about the instrumentationAaron Patterson2010-07-253-19/+19
| |
* | runtime should be properly initialized.José Valim2010-07-251-2/+1
| |
* | Move runtime to log subscriber.José Valim2010-07-253-15/+18
| |
* | Get rid of instrumenter.elapsed.José Valim2010-07-242-8/+7
| |
* | testing sqlbypass destroy. caching connection during destroyAaron Patterson2010-07-231-6/+7
| |
* | brrrrr! freeze is not neededAaron Patterson2010-07-231-1/+1
| |
* | fixing space errorAaron Patterson2010-07-221-1/+1
| |
* | refactoring more methods to a class methods moduleAaron Patterson2010-07-221-20/+12
| |
* | refactoring class methods to a moduleAaron Patterson2010-07-221-24/+18
| |
* | Session data will exceed 255 bytes. Use TEXT.Jeremy Kemper2010-07-221-1/+1
| |
* | Makes current adapter decide the syntax of PRIMARY KEY column definitionSantiago Pastorino2010-07-221-2/+2
| |
* | This is a VARCHAR not a TEXTSantiago Pastorino2010-07-221-1/+1
| |
* | MySQL can't index a TEXT columnSantiago Pastorino2010-07-221-2/+2
| |
* | refactor to use instance methods and be kind to subclassesAaron Patterson2010-07-221-10/+11
| |
* | testing loaded? method and reducing funcallsAaron Patterson2010-07-211-1/+1
| |
* | testing new_record? and converting to an attributeAaron Patterson2010-07-211-5/+3
| |
* | reducing function calls in the session storeAaron Patterson2010-07-211-5/+5
| |
* | readability is hipAaron Patterson2010-07-211-2/+4
| |
* | starting sql bypass test, fixing create_table and drop_table!Aaron Patterson2010-07-211-4/+4
| |
* | initializing instance variablesAaron Patterson2010-07-211-1/+6
| |
* | adding tests for sessions and clearing up warningsAaron Patterson2010-07-211-3/+9
|/
* expanded comment for update_attribute methodNeeraj Singh2010-07-221-2/+9
|
* Make use of tap to return a previously used varSantiago Pastorino2010-07-211-4/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* eagerly loaded association records should respect default_scope [#2931 ↵Subba Rao Pasupuleti2010-07-211-1/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* update_attribute should not update readonly attributesNeeraj Singh2010-07-211-0/+2
| | | | | | [#5106 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* rake db:seed should check if the database have pending migrations [#5163 ↵Thiago Pradi2010-07-211-1/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure all join table attributes will be in the same timestamp.José Valim2010-07-211-11/+21
|
* Timestamp columns of HABTM join table should record timestampsNeeraj Singh2010-07-212-4/+21
| | | | [#5161 state:resolved]
* Revert "save on parent should not cascade to child unless child changed ↵José Valim2010-07-211-3/+1
| | | | | | | | [#3353 state:open]" Please check Lighthouse for more information. This reverts commit 4a0d7c1a439c6ad8d35bf514761824e51fa07df2.
* association load target shouldn't replace recordsSzetobo2010-07-211-3/+4
| | | | | | | | from db if it is already loaded by nested attributes assignment [#5053 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* In nested_attributes when association is not loaded and associationSubba Rao Pasupuleti2010-07-211-1/+8
| | | | | | | | record is saved and then in memory record attributes should be saved [#5053 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* id is a public methodSantiago Pastorino2010-07-211-2/+2
|
* Ensure that primary_keys of HABTM records is not double quotedNeeraj Singh2010-07-201-2/+2
| | | | [#5152 state:reslved]
* adding a reader for loaded, initializing @loaded to falseAaron Patterson2010-07-202-7/+4
|
* reusing the time instrumentation from the instrumenter rather than ↵Aaron Patterson2010-07-191-4/+7
| | | | Benchmark. [#5098 state:open]
* Minor performance improvment in notifications/fanout and ↵Daniel Guettler2010-07-191-0/+2
| | | | active_record/log_subscriber [#5098 state:open]
* avoid const lookup. we know what these constants are in advanceAaron Patterson2010-07-191-3/+3
|
* Added missing require of remove_methodŁukasz Strzałkowski2010-07-191-0/+1
|