Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Avoid uneeded queries in session stores if sid is not given." | José Valim | 2010-07-29 | 1 | -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 Patterson | 2010-07-28 | 1 | -7/+4 |
| | | | | This reverts commit 1c030a3c3c61d6d6262785bf67e1d8f44da87ea5. | ||||
* | avoid calling to_sql twice | Aaron Patterson | 2010-07-28 | 1 | -4/+7 |
| | |||||
* | slight performance improvement when grabbing an arel table | Aaron Patterson | 2010-07-27 | 1 | -1/+1 |
| | |||||
* | fixed joining of attributes when using find_or_create_by with multiple ↵ | Jon Buda | 2010-07-28 | 1 | -1/+1 |
| | | | | | | attributes through an association Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Prep for RC | David Heinemeier Hansson | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | Move runtime back to the Thread.current | José Valim | 2010-07-26 | 3 | -13/+17 |
| | |||||
* | No need to check for :uniq | Neeraj Singh | 2010-07-26 | 1 | -6/+3 |
| | | | | | | [#5170 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Removing unnecessary code [#5192 state:resolved] | Thiago Pradi | 2010-07-26 | 1 | -4/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Don't interpolate a blank string, avoid warnings | Santiago Pastorino | 2010-07-26 | 1 | -0/+2 |
| | |||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-07-26 | 2 | -15/+18 |
|\ | |||||
| * | Fixes syntax error in "with_scope" example | Arkadiusz Holko | 2010-07-25 | 1 | -1/+1 |
| | | |||||
| * | bringing consistency in comments | Neeraj Singh | 2010-07-24 | 1 | -14/+17 |
| | | |||||
* | | Cache instrumenter again as per Aaron's patch. | José Valim | 2010-07-25 | 1 | -1/+2 |
| | | |||||
* | | Cache connection access. | José Valim | 2010-07-25 | 2 | -6/+4 |
| | | |||||
* | | Move runtime back to connection. | José Valim | 2010-07-25 | 3 | -17/+15 |
| | | |||||
* | | Revert the previous three commits. | José Valim | 2010-07-25 | 3 | -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 once | Aaron Patterson | 2010-07-25 | 1 | -2/+3 |
| | | |||||
* | | cache the instrumentor for a speed gain | Aaron Patterson | 2010-07-25 | 1 | -2/+2 |
| | | |||||
* | | use a hash to collect optional statistics about the instrumentation | Aaron Patterson | 2010-07-25 | 3 | -19/+19 |
| | | |||||
* | | runtime should be properly initialized. | José Valim | 2010-07-25 | 1 | -2/+1 |
| | | |||||
* | | Move runtime to log subscriber. | José Valim | 2010-07-25 | 3 | -15/+18 |
| | | |||||
* | | Get rid of instrumenter.elapsed. | José Valim | 2010-07-24 | 2 | -8/+7 |
| | | |||||
* | | testing sqlbypass destroy. caching connection during destroy | Aaron Patterson | 2010-07-23 | 1 | -6/+7 |
| | | |||||
* | | brrrrr! freeze is not needed | Aaron Patterson | 2010-07-23 | 1 | -1/+1 |
| | | |||||
* | | fixing space error | Aaron Patterson | 2010-07-22 | 1 | -1/+1 |
| | | |||||
* | | refactoring more methods to a class methods module | Aaron Patterson | 2010-07-22 | 1 | -20/+12 |
| | | |||||
* | | refactoring class methods to a module | Aaron Patterson | 2010-07-22 | 1 | -24/+18 |
| | | |||||
* | | Session data will exceed 255 bytes. Use TEXT. | Jeremy Kemper | 2010-07-22 | 1 | -1/+1 |
| | | |||||
* | | Makes current adapter decide the syntax of PRIMARY KEY column definition | Santiago Pastorino | 2010-07-22 | 1 | -2/+2 |
| | | |||||
* | | This is a VARCHAR not a TEXT | Santiago Pastorino | 2010-07-22 | 1 | -1/+1 |
| | | |||||
* | | MySQL can't index a TEXT column | Santiago Pastorino | 2010-07-22 | 1 | -2/+2 |
| | | |||||
* | | refactor to use instance methods and be kind to subclasses | Aaron Patterson | 2010-07-22 | 1 | -10/+11 |
| | | |||||
* | | testing loaded? method and reducing funcalls | Aaron Patterson | 2010-07-21 | 1 | -1/+1 |
| | | |||||
* | | testing new_record? and converting to an attribute | Aaron Patterson | 2010-07-21 | 1 | -5/+3 |
| | | |||||
* | | reducing function calls in the session store | Aaron Patterson | 2010-07-21 | 1 | -5/+5 |
| | | |||||
* | | readability is hip | Aaron Patterson | 2010-07-21 | 1 | -2/+4 |
| | | |||||
* | | starting sql bypass test, fixing create_table and drop_table! | Aaron Patterson | 2010-07-21 | 1 | -4/+4 |
| | | |||||
* | | initializing instance variables | Aaron Patterson | 2010-07-21 | 1 | -1/+6 |
| | | |||||
* | | adding tests for sessions and clearing up warnings | Aaron Patterson | 2010-07-21 | 1 | -3/+9 |
|/ | |||||
* | expanded comment for update_attribute method | Neeraj Singh | 2010-07-22 | 1 | -2/+9 |
| | |||||
* | Make use of tap to return a previously used var | Santiago Pastorino | 2010-07-21 | 1 | -4/+4 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | eagerly loaded association records should respect default_scope [#2931 ↵ | Subba Rao Pasupuleti | 2010-07-21 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | update_attribute should not update readonly attributes | Neeraj Singh | 2010-07-21 | 1 | -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 Pradi | 2010-07-21 | 1 | -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é Valim | 2010-07-21 | 1 | -11/+21 |
| | |||||
* | Timestamp columns of HABTM join table should record timestamps | Neeraj Singh | 2010-07-21 | 2 | -4/+21 |
| | | | | [#5161 state:resolved] | ||||
* | Revert "save on parent should not cascade to child unless child changed ↵ | José Valim | 2010-07-21 | 1 | -3/+1 |
| | | | | | | | | [#3353 state:open]" Please check Lighthouse for more information. This reverts commit 4a0d7c1a439c6ad8d35bf514761824e51fa07df2. | ||||
* | association load target shouldn't replace records | Szetobo | 2010-07-21 | 1 | -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 association | Subba Rao Pasupuleti | 2010-07-21 | 1 | -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> |