aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
* got the ternary backwards. somehow the sqlite tests passed!Aaron Patterson2010-07-291-1/+1
|
* PERF: avoiding splat args and reducing function callsAaron Patterson2010-07-291-8/+5
|
* Revert "Avoid uneeded queries in session stores if sid is not given."José Valim2010-07-291-0/+1
| | | | | | First step to merge Rails and Rack session stores. Rack always expects to receive the SID since it may have different behavior if the SID is nil. This reverts commit e210895ba95e498b9debbf43a3e5ae588bca81f0.
* Shouldn't have committed this! Revert "avoid calling to_sql twice"Aaron Patterson2010-07-281-7/+4
| | | | This reverts commit 1c030a3c3c61d6d6262785bf67e1d8f44da87ea5.
* avoid calling to_sql twiceAaron Patterson2010-07-281-4/+7
|
* slight performance improvement when grabbing an arel tableAaron Patterson2010-07-271-1/+1
|
* fixed joining of attributes when using find_or_create_by with multiple ↵Jon Buda2010-07-282-1/+10
| | | | | | attributes through an association Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* missing requires addedSantiago Pastorino2010-07-261-0/+2
|
* Prep for RCDavid Heinemeier Hansson2010-07-262-2/+2
|
* Move runtime back to the Thread.currentJosé Valim2010-07-264-13/+21
|
* 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-262-5/+7
| | | | 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-263-193/+82
|\
| * Fixes syntax error in "with_scope" exampleArkadiusz Holko2010-07-251-1/+1
| |
| * bringing consistency in commentsNeeraj Singh2010-07-241-14/+17
| |
| * improve Active Record READMEMislav Marohnić2010-07-221-167/+55
| | | | | | | | | | | | | | - revise introductory text - improve examples - don't claim that Oracle, SQL Server, or DB2 are supported - remove lengthy "simple example"
| * revise download/installation/support sections in READMEsMislav Marohnić2010-07-221-11/+9
| | | | | | | | | | | | | | - don't reference ancient gem versions - don't link to old API doc subdomains - point to GitHub instead of RubyForge - point to Lighthouse account for support
* | do not execute the session tests within transactionsAaron Patterson2010-07-251-0/+2
| |
* | APIs for individual components are no longer publishedXavier Noria2010-07-261-6/+0
| |
* | Object#returning removedSantiago Pastorino2010-07-251-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | 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-254-21/+15
| |
* | Revert the previous three commits.José Valim2010-07-254-20/+23
| | | | | | | | | | | | * 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-254-23/+19
| |
* | runtime should be properly initialized.José Valim2010-07-252-2/+5
| |
* | Move runtime to log subscriber.José Valim2010-07-253-15/+18
| |
* | Get rid of instrumenter.elapsed.José Valim2010-07-242-8/+7
| |
* | update Rakefiles for RDoc 2.5Aaron Patterson2010-07-231-4/+4
| |
* | testing sqlbypass destroy. caching connection during destroyAaron Patterson2010-07-232-6/+16
| |
* | 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-222-26/+23
| |
* | Makes Rakefile activate rdoc >= 2.5.9Santiago Pastorino2010-07-231-1/+1
| | | | | | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* | session_id is a VARCHARSantiago Pastorino2010-07-221-5/+5
| |
* | 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
| |
* | adding a test for session saveAaron Patterson2010-07-221-0/+10
| |
* | testing loaded? method and reducing funcallsAaron Patterson2010-07-212-1/+11
| |
* | testing new_record? and converting to an attributeAaron Patterson2010-07-212-5/+8
| |
* | 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-212-4/+26
| |