aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract
Commit message (Collapse)AuthorAgeFilesLines
* Fix delete_all when chained with joins.Rafael Mendonça França2012-04-101-3/+17
| | | | Closes #5202 and #919
* Merge pull request #5716 from jurriaan/tr-gsub-cleanupSantiago Pastorino2012-04-041-1/+1
|\ | | | | Updated/changed unneeded tr/gsubs
| * Updated/changed useless tr/gsubsJurriaan Pruis2012-04-031-1/+1
| |
* | Remove unnecessary articles.Waseem Ahmad2012-04-031-3/+3
|/
* Use one 'be'.Waseem Ahmad2012-03-241-1/+1
|
* make sure connections returned after close are marked as in_useAaron Patterson2012-03-121-4/+17
|
* deprecated clear_stale_active_connections! can call #reap instead of ↵Jonathan Rochkind2012-03-121-1/+2
| | | | no-op'ing, #reap does the same thing
* make active_connection? return true only if there is an open connection in ↵Aaron Patterson2012-03-081-7/+4
| | | | use for the current thread. fixes #5330
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-031-0/+3
|\
| * Add documentation for IndexDefinition.Waseem Ahmad2012-03-021-0/+3
| |
* | revert setting NOT NULL constraints in add_timestampsXavier Noria2012-03-011-2/+2
|/ | | | | | | | | | | Commit 3dbedd2 added NOT NULL constraints both to table creation and modification. For creation the new default makes sense, but the generic situation for changing a table is that there exist records. Those records have no creation or modification timestamps, and in the general case you don't even know them, so when updating a table these constraints are not going to work. See a bug report for this use case in #3334.
* use bind values for join columnsAaron Patterson2012-02-271-4/+4
|
* removes verify_active_connections!Xavier Noria2012-02-241-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 disabledAaron Patterson2012-02-212-8/+10
|
* use Process.pid rather than $$Aaron Patterson2012-02-161-5/+5
|
* database connections are automatically established after forking.Aaron Patterson2012-02-161-13/+47
| | | | Connection pools are 1:1 with pids.
* Revert "No need to pass options which is never used"Rafael Mendonça França2012-02-151-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 statementsMarcelo Silveira2012-02-091-1/+1
|
* Added where option to add_index to support postgresql partial indicesMarcelo Silveira2012-02-091-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 Martinez2012-02-021-1/+1
|
* QueryCache will just dup an AR::Result, AR::Result can deep copyAaron Patterson2012-01-311-9/+15
|
* query cache instrumentation should included the bindings in the payload ↵Xavier Noria2012-01-301-1/+1
| | | | [closes #4750]
* Add `create_join_table` migration helper to create HABTM join tablesRafael Mendonça França2012-01-271-0/+42
|
* Only show the type if column is presentRafael Mendonça França2012-01-231-1/+2
|
* Don't type-cast unknown types to YAML.Stephen Celis2012-01-201-1/+1
|
* use Rack::BodyProxy in activerecord middlewaresSergey Nartimov2012-01-161-31/+5
|
* refactor schema migration table creation to the schema migration modelAaron Patterson2012-01-131-9/+1
|
* use the schema migration model to dump schema infoAaron Patterson2012-01-131-2/+5
|
* dropping support for `schema_info`.Aaron Patterson2012-01-101-12/+0
|
* Remove Array.wrap calls in ActiveRecordRafael Mendonça França2012-01-061-5/+4
|
* updating the reaping frequency documentationAaron Patterson2011-12-301-0/+3
|
* rename start to run and use Thread.pass rather than sleeping to schedule the ↵Aaron Patterson2011-12-301-2/+2
| | | | watchdog
* connection pool starts the reaperAaron Patterson2011-12-301-0/+1
|
* each connection pool has a reaperAaron Patterson2011-12-301-1/+5
|
* introduce a timer class for reaping connectionsAaron Patterson2011-12-301-0/+19
|
* raise a pull full error when the connection pool is full and no connection ↵Aaron Patterson2011-12-301-18/+20
| | | | can be obtained
* connections are only removed if they are inactveAaron Patterson2011-12-301-1/+1
|
* connections can be reaped via the `reap` methodAaron Patterson2011-12-301-0/+12
|
* deal with removing connections associated with the current threadAaron Patterson2011-12-301-0/+7
|
* connections can be removed from the poolAaron Patterson2011-12-301-1/+9
|
* queue and signal no longer neededAaron Patterson2011-12-301-2/+0
|
* refactor checking out the connectionAaron Patterson2011-12-301-5/+6
|
* infinite loop is no longer necessaryAaron Patterson2011-12-301-20/+11
|
* connections must be checked in at the end of a threadAaron Patterson2011-12-301-17/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-12-291-9/+2
|\
| * Document that index names are made up of all columns, not just the first.Jo Liss2011-12-271-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 Leighton2011-12-282-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 methodJon Leighton2011-12-241-6/+1
|
* I herd you like modules.Jon Leighton2011-12-242-53/+54
|
* removing deprecated methodsAaron Patterson2011-12-211-28/+0
|