Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use bind values for join columns | Aaron Patterson | 2012-02-27 | 1 | -4/+4 |
| | |||||
* | removes verify_active_connections! | Xavier Noria | 2012-02-24 | 1 | -15/+0 |
| | | | | | | | The method verify_active_connections! was used in the old days (up to 2.1 I think) by the dispatcher to verify the connections, but nowadays we do that in a different way and this method is obsolete. | ||||
* | prepared statements can be disabled | Aaron Patterson | 2012-02-21 | 2 | -8/+10 |
| | |||||
* | use Process.pid rather than $$ | Aaron Patterson | 2012-02-16 | 1 | -5/+5 |
| | |||||
* | database connections are automatically established after forking. | Aaron Patterson | 2012-02-16 | 1 | -13/+47 |
| | | | | Connection pools are 1:1 with pids. | ||||
* | Revert "No need to pass options which is never used" | Rafael Mendonça França | 2012-02-15 | 1 | -2/+2 |
| | | | | | | | | | Options is needed for some Rails extensions to determine when referential integrity should be disabled This reverts commit bcb466c543451dce69403aaae047295758589d8e. Fixes #5052 | ||||
* | Made schema dumper recognize partial indices' where statements | Marcelo Silveira | 2012-02-09 | 1 | -1/+1 |
| | |||||
* | Added where option to add_index to support postgresql partial indices | Marcelo Silveira | 2012-02-09 | 1 | -3/+13 |
| | | | | | | | | | | | 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 | ||||
* | Remove useless argument in #columns. | Sebastian Martinez | 2012-02-02 | 1 | -1/+1 |
| | |||||
* | QueryCache will just dup an AR::Result, AR::Result can deep copy | Aaron Patterson | 2012-01-31 | 1 | -9/+15 |
| | |||||
* | query cache instrumentation should included the bindings in the payload ↵ | Xavier Noria | 2012-01-30 | 1 | -1/+1 |
| | | | | [closes #4750] | ||||
* | Add `create_join_table` migration helper to create HABTM join tables | Rafael Mendonça França | 2012-01-27 | 1 | -0/+42 |
| | |||||
* | Only show the type if column is present | Rafael Mendonça França | 2012-01-23 | 1 | -1/+2 |
| | |||||
* | Don't type-cast unknown types to YAML. | Stephen Celis | 2012-01-20 | 1 | -1/+1 |
| | |||||
* | use Rack::BodyProxy in activerecord middlewares | Sergey Nartimov | 2012-01-16 | 1 | -31/+5 |
| | |||||
* | refactor schema migration table creation to the schema migration model | Aaron Patterson | 2012-01-13 | 1 | -9/+1 |
| | |||||
* | use the schema migration model to dump schema info | Aaron Patterson | 2012-01-13 | 1 | -2/+5 |
| | |||||
* | dropping support for `schema_info`. | Aaron Patterson | 2012-01-10 | 1 | -12/+0 |
| | |||||
* | Remove Array.wrap calls in ActiveRecord | Rafael Mendonça França | 2012-01-06 | 1 | -5/+4 |
| | |||||
* | updating the reaping frequency documentation | Aaron Patterson | 2011-12-30 | 1 | -0/+3 |
| | |||||
* | rename start to run and use Thread.pass rather than sleeping to schedule the ↵ | Aaron Patterson | 2011-12-30 | 1 | -2/+2 |
| | | | | watchdog | ||||
* | connection pool starts the reaper | Aaron Patterson | 2011-12-30 | 1 | -0/+1 |
| | |||||
* | each connection pool has a reaper | Aaron Patterson | 2011-12-30 | 1 | -1/+5 |
| | |||||
* | introduce a timer class for reaping connections | Aaron Patterson | 2011-12-30 | 1 | -0/+19 |
| | |||||
* | raise a pull full error when the connection pool is full and no connection ↵ | Aaron Patterson | 2011-12-30 | 1 | -18/+20 |
| | | | | can be obtained | ||||
* | connections are only removed if they are inactve | Aaron Patterson | 2011-12-30 | 1 | -1/+1 |
| | |||||
* | connections can be reaped via the `reap` method | Aaron Patterson | 2011-12-30 | 1 | -0/+12 |
| | |||||
* | deal with removing connections associated with the current thread | Aaron Patterson | 2011-12-30 | 1 | -0/+7 |
| | |||||
* | connections can be removed from the pool | Aaron Patterson | 2011-12-30 | 1 | -1/+9 |
| | |||||
* | queue and signal no longer needed | Aaron Patterson | 2011-12-30 | 1 | -2/+0 |
| | |||||
* | refactor checking out the connection | Aaron Patterson | 2011-12-30 | 1 | -5/+6 |
| | |||||
* | infinite loop is no longer necessary | Aaron Patterson | 2011-12-30 | 1 | -20/+11 |
| | |||||
* | connections must be checked in at the end of a thread | Aaron Patterson | 2011-12-30 | 1 | -17/+1 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-12-29 | 1 | -9/+2 |
|\ | |||||
| * | Document that index names are made up of all columns, not just the first. | Jo Liss | 2011-12-27 | 1 | -9/+2 |
| | | | | | | | | | | | | | | | | | | | | | | index_name has been using the following expression "index_#{table_name}_on_#{Array.wrap(options[:column]) * '_and_'}" since at least 2006 (bc7f2315), and that's how they come out in my DB. Please check that this is correct before merging into master, perhaps I'm misunderstanding the section I changed. | ||||
* | | Support establishing connection on ActiveRecord::Model. | Jon Leighton | 2011-12-28 | 2 | -185/+1 |
|/ | | | | | This is the 'top level' connection, inherited by any models that include ActiveRecord::Model or inherit from ActiveRecord::Base. | ||||
* | Extract common logic into a method | Jon Leighton | 2011-12-24 | 1 | -6/+1 |
| | |||||
* | I herd you like modules. | Jon Leighton | 2011-12-24 | 2 | -53/+54 |
| | |||||
* | removing deprecated methods | Aaron Patterson | 2011-12-21 | 1 | -28/+0 |
| | |||||
* | Revert naive O(1) table_exists? implementation. | Jon Leighton | 2011-12-13 | 1 | -6/+1 |
| | | | | | | | | | | It was a bad idea to rescue exceptions here. This can interfere with transaction rollbacks which seems to be the cause of current CI failure. Instead, each adapter should implement its own DB-specific O(1) implementation, and we fall back on the generic, slower, implementation otherwise. | ||||
* | don't need a begin / end. | Aaron Patterson | 2011-12-09 | 1 | -6/+4 |
| | |||||
* | squelch table exists? queries. | Aaron Patterson | 2011-12-09 | 1 | -1/+1 |
| | |||||
* | Exceptions should read from the spec configu | Aaron Patterson | 2011-12-08 | 1 | -1/+1 |
| | |||||
* | fix nodocs | Vijay Dev | 2011-12-09 | 1 | -3/+3 |
| | |||||
* | fix comments | Vijay Dev | 2011-12-09 | 1 | -4/+2 |
| | |||||
* | Use a hash to look up column definitions | Aaron Patterson | 2011-12-07 | 1 | -2/+3 |
| | |||||
* | try to normalize the objects passed to column() | Aaron Patterson | 2011-12-07 | 1 | -9/+11 |
| | |||||
* | automatically add the column definition to the columns list if creating a ↵ | Aaron Patterson | 2011-12-07 | 1 | -12/+21 |
| | | | | new one | ||||
* | stop calling String#to_s so frequently | Aaron Patterson | 2011-12-07 | 1 | -3/+4 |
| | |||||
* | Quitoting the table name before querying. | Aaron Patterson | 2011-12-05 | 1 | -1/+1 |
| |