Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #5976 from aderyabin/fix1 | Jeremy Kemper | 2012-04-25 | 1 | -5/+0 |
|\ | | | | | Duplicate quote_table_name method | ||||
| * | already defined in quoting | Andrey Deryabin | 2012-04-25 | 1 | -5/+0 |
| | | |||||
* | | cleanliness in method parameters | Andrey Deryabin | 2012-04-25 | 1 | -1/+1 |
|/ | |||||
* | errors should probably be logged as errors | Aaron Patterson | 2012-03-15 | 1 | -20/+19 |
| | |||||
* | Merge pull request #5162 from kennyj/schema_cache_dump | Aaron Patterson | 2012-03-07 | 1 | -0/+5 |
|\ | | | | | [Proposal] Schema cache dump | ||||
| * | Load db/schema_cache.dump duaring boot time. | kennyj | 2012-03-01 | 1 | -0/+5 |
| | | |||||
* | | only log an error if there is a logger. fixes #5226 | Aaron Patterson | 2012-03-02 | 1 | -1/+1 |
|/ | |||||
* | tag bind params with a bind param object | Aaron Patterson | 2012-02-20 | 1 | -1/+1 |
| | |||||
* | Autoload various constants effectively in abstract connection adapter. | Waseem Ahmad | 2012-02-16 | 1 | -9/+12 |
| | |||||
* | Added where option to add_index to support postgresql partial indices | Marcelo Silveira | 2012-02-09 | 1 | -0/+5 |
| | | | | | | | | | | | The `add_index` method now supports a `where` option that receives a string with the partial index criteria. add_index(:accounts, :code, :where => "active") Generates CREATE INDEX index_accounts_on_code ON accounts(code) WHERE active | ||||
* | Support establishing connection on ActiveRecord::Model. | Jon Leighton | 2011-12-28 | 1 | -1/+1 |
| | | | | | This is the 'top level' connection, inherited by any models that include ActiveRecord::Model or inherit from ActiveRecord::Base. | ||||
* | implements automatic EXPLAIN logging for slow queries | Xavier Noria | 2011-12-02 | 1 | -0/+6 |
| | |||||
* | AbstractAdapter#close can be called to add the connection back to the | Aaron Patterson | 2011-11-29 | 1 | -11/+18 |
| | | | | pool. | ||||
* | expire will set in_use to false | Aaron Patterson | 2011-11-29 | 1 | -0/+5 |
| | |||||
* | Leased connections return false on second lease | Aaron Patterson | 2011-11-29 | 1 | -2/+4 |
| | |||||
* | Adapters keep in_use flag when leased | Aaron Patterson | 2011-11-29 | 1 | -1/+14 |
| | |||||
* | removing deprecated methods | Aaron Patterson | 2011-11-19 | 1 | -18/+0 |
| | |||||
* | pushing caching and visitors down to the connection | Aaron Patterson | 2011-11-19 | 1 | -0/+3 |
| | |||||
* | AR changes to support creating ordered (asc, desc) indexes | Vlad Jebelev | 2011-11-04 | 1 | -0/+5 |
| | |||||
* | Only use LOWER for mysql case insensitive uniqueness check when column has a ↵ | Joseph Palermo | 2011-10-09 | 1 | -0/+4 |
| | | | | case sensitive collation. | ||||
* | Adding missing autoload | Claudio Poli | 2011-08-24 | 1 | -0/+1 |
| | |||||
* | In 1efd88283ef68d912df215125951a87526768a51, ConnectionAdapters was put ↵ | Jon Leighton | 2011-08-16 | 1 | -12/+22 |
| | | | | under eager_autoload. Due to the requires in that file, this caused ConnectionSpecification to be loaded, which references ActiveRecord::Base, which means the database connection is established. We do not want to connect to the database when Active Record is loaded, only when ActiveRecord::Base is first referenced by the user. | ||||
* | Remove TODO comment I didn't mean to commit | Jon Leighton | 2011-08-09 | 1 | -2/+0 |
| | |||||
* | Make it the responsibility of the connection to hold onto an ARel visitor ↵ | Jon Leighton | 2011-08-08 | 1 | -0/+24 |
| | | | | for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now. | ||||
* | initializing @open_transactions in the initialize method | Aaron Patterson | 2011-08-03 | 1 | -4/+2 |
| | |||||
* | Remove extra whitespaces | Sebastian Martinez | 2011-05-03 | 1 | -9/+9 |
| | |||||
* | set the backtrace to prevent AR exceptions from lying to us | Aaron Patterson | 2011-04-22 | 1 | -1/+3 |
| | |||||
* | use index based substitution for bind parameters | Aaron Patterson | 2011-04-13 | 1 | -1/+1 |
| | |||||
* | adding a case_sensitive_modifier for forcing comparisons to be case sensitive | Aaron Patterson | 2011-04-11 | 1 | -0/+4 |
| | |||||
* | log method takes an option list of bind values | Aaron Patterson | 2011-02-09 | 1 | -5/+7 |
| | |||||
* | moving AR::ConnectionAdapters::Column to its own file | Aaron Patterson | 2011-02-01 | 1 | -0/+1 |
| | |||||
* | Add :bulk => true option to change_table | Pratik Naik | 2011-01-31 | 1 | -0/+4 |
| | |||||
* | SQLite3 has supported savepoints since version 3.6.8, we should use this! | Jon Leighton | 2011-01-11 | 1 | -2/+2 |
| | |||||
* | Use params default. | Emilio Tagua | 2010-11-24 | 1 | -2/+1 |
| | |||||
* | Removed ids_in_list_limit in favor of in_clause_length defined in ↵ | Alex Rothenberg | 2010-11-23 | 1 | -5/+0 |
| | | | | database_limits.rb | ||||
* | Adapters can specify maximum number of ids they support in a list of expressions | Alex Rothenberg | 2010-11-18 | 1 | -0/+5 |
| | | | | | (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 | ||||
* | speeding up query cache | Aaron Patterson | 2010-10-27 | 1 | -1/+1 |
| | |||||
* | renaming bind_values to binds where it makes sense | Aaron Patterson | 2010-10-26 | 1 | -2/+2 |
| | |||||
* | one more mysql test left! | Aaron Patterson | 2010-10-26 | 1 | -0/+7 |
| | |||||
* | exec returns an AR::Result | Aaron Patterson | 2010-10-26 | 1 | -0/+1 |
| | |||||
* | adding bind value substitution | Aaron Patterson | 2010-10-26 | 1 | -0/+6 |
| | |||||
* | Move runtime back to the Thread.current | José Valim | 2010-07-26 | 1 | -7/+0 |
| | |||||
* | Cache instrumenter again as per Aaron's patch. | José Valim | 2010-07-25 | 1 | -1/+2 |
| | |||||
* | Move runtime back to connection. | José Valim | 2010-07-25 | 1 | -0/+7 |
| | |||||
* | Revert the previous three commits. | José Valim | 2010-07-25 | 1 | -16/+2 |
| | | | | | | * 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; | ||||
* | 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 | 1 | -2/+16 |
| | |||||
* | Move runtime to log subscriber. | José Valim | 2010-07-25 | 1 | -7/+0 |
| | |||||
* | Get rid of instrumenter.elapsed. | José Valim | 2010-07-24 | 1 | -8/+2 |
| | |||||
* | reusing the time instrumentation from the instrumenter rather than ↵ | Aaron Patterson | 2010-07-19 | 1 | -4/+7 |
| | | | | Benchmark. [#5098 state:open] |