aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract
Commit message (Collapse)AuthorAgeFilesLines
* make sure that active connections are not cleared during test when an ↵Aaron Patterson2011-03-291-2/+4
| | | | exception happens
* clearing active connections in the ConnectionManagement middleware if an ↵Aaron Patterson2011-03-291-0/+3
| | | | exception happens
* proxy body responses so we close database connections after body is flushedAaron Patterson2011-03-291-7/+24
|
* make sure we have an active database connection before running each ↵Aaron Patterson2011-03-281-1/+5
| | | | connection management test
* adding active_connections? to the connection pool for finding open connectionsAaron Patterson2011-03-281-0/+6
|
* adding active_connection? to the connection poolAaron Patterson2011-03-281-0/+6
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-232-4/+2
|\
| * remove bank linePaco Guzman2011-03-181-1/+0
| |
| * Remove incorrect comment that a default value of NULL cannot be set with ↵Manuel Meurer2011-03-161-3/+2
| | | | | | | | change_column_default.
* | pushing id insertion and prefetch primary keys down to Relation#insertAaron Patterson2011-03-221-0/+4
|/
* implements ActiveRecord::Base.connection_config to be able to check the ↵Xavier Noria2011-03-051-0/+10
| | | | configuration of the current connection at runtime
* fixture should quack like a hashAaron Patterson2011-02-111-1/+9
|
* Allow limit values to accept an ARel SQL literal.Ken Collins2011-02-091-3/+7
|
* primary keys should not be cleared on cache clear, fixing oracle testsAaron Patterson2011-02-081-2/+0
|
* limit() should sanitize limit valuesAaron Patterson2011-02-081-15/+15
| | | | This fixes CVE-2011-0448
* the connection pool caches table_exists? callsAaron Patterson2011-02-071-8/+14
|
* adjust query counts to be consistent across databases, make sure database ↵Aaron Patterson2011-02-041-5/+9
| | | | log the same things
* column cache now lives on the connection poolAaron Patterson2011-02-041-1/+5
|
* almost fistedAaron Patterson2011-02-041-0/+7
|
* making sure primary key is set on the columnsAaron Patterson2011-02-041-1/+9
|
* connection pool can cache column, table, and primary key informationAaron Patterson2011-02-041-0/+34
|
* Revert "ARel only requires the connection from the AR class. Simply return ↵Aaron Patterson2011-02-031-24/+24
| | | | | | the AR class rather than jump through hoops and store ivars" This reverts commit d65e3b481e72e8c76818a94353e9ac315c7c0272.
* ARel only requires the connection from the AR class. Simply return the AR ↵Aaron Patterson2011-02-031-24/+24
| | | | class rather than jump through hoops and store ivars
* moving AR::ConnectionAdapters::Column to its own fileAaron Patterson2011-02-011-263/+0
|
* column will use coder to typecase value when it is availableAaron Patterson2011-02-011-0/+2
|
* coders can be assigned to columnsAaron Patterson2011-02-011-1/+4
|
* dry up our case / when statementsAaron Patterson2011-02-011-34/+31
|
* expand mulasgn for enhancing readabilityAaron Patterson2011-01-311-6/+9
|
* Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵John Firebaugh2011-01-311-1/+1
| | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Add :bulk => true option to change_tablePratik Naik2011-01-311-31/+59
|
* always return the identity function from type_cast_codeAaron Patterson2011-01-281-1/+1
|
* use an identity conversion to avoid conditional codesAaron Patterson2011-01-281-2/+2
|
* no need to specify selfAaron Patterson2011-01-051-1/+1
|
* require ActiveSupport deprecatation file before using deprecate method in ↵Raimonds Simanovskis2011-01-041-0/+2
| | | | | database_statements otherwise when using external ActiveRecord adapters (e.g. Oracle) database_statements might be loaded before active_support/core_ext/module/deprecation which results in NoMethodError (commit 60cf65def805995bcca184c40b44bb01d86a48aa added "deprecate" call to database_statements.rb)
* herp derpricating add_limit_offset!Aaron Patterson2011-01-031-0/+3
|
* Make serialized fixtures work againPratik Naik2010-12-291-1/+2
|
* move ivar to initialize, use triple dot rather than minusAaron Patterson2010-12-161-1/+1
|
* Use Array.wrap instead of using ternaryPiotr Sarnacki2010-12-091-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Allow to run migrations from more than one directoryPiotr Sarnacki2010-12-091-2/+4
|
* made in_clause_length default nil (no limit)Alex Rothenberg2010-12-021-2/+2
|
* rolling out migrated_at until I can fix the buildAaron Patterson2010-12-011-15/+3
|
* tests mostly passJosh Susser2010-12-011-2/+2
| | | | | adjust to work with instance-based migations migrated_at can't be null why must people have last names? it's killing me!
* name in schema_migrations, migrations in schema dumpJosh Susser2010-12-011-0/+4
|
* Add migrated_at column to schema_migrations table.Josh Susser2010-12-011-1/+9
|
* Don't depend on rubygems loading thread (for Mutex)raggi2010-11-251-0/+1
|
* converted exec to exec_query for sqliteAaron Patterson2010-11-051-1/+1
|
* select_all() should always return an array, so no need to testAaron Patterson2010-10-271-9/+1
|
* speeding up query cacheAaron Patterson2010-10-271-4/+3
|
* making query cache work with prepared statementsAaron Patterson2010-10-271-6/+7
|
* renaming bind_values to binds where it makes senseAaron Patterson2010-10-261-6/+6
|