aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* sql logger ignores schema statementsAaron Patterson2011-03-281-2/+2
|
* 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-222-0/+8
| |
* | use prepared statements to fetch the last insert idAaron Patterson2011-03-211-3/+4
| |
* | escaping binary data encoding when inserting to sqlite3. Thanks Naruse! ↵Aaron Patterson2011-03-211-0/+8
| | | | | | | | [#6559 state:resolved]
* | schemas set by set_table_name are respected by the mysql adapter. [#5322 ↵Aaron Patterson2011-03-211-2/+16
|/ | | | state:resolved]
* implements ActiveRecord::Base.connection_config to be able to check the ↵Xavier Noria2011-03-051-0/+10
| | | | configuration of the current connection at runtime
* Optimization for postgres adapter for add_column method. Set default and not ↵Timothy N. Tsvetkov2011-02-151-6/+10
| | | | null in one query
* switch over to Mysql2::Client#ping for the mysql2 connection checkBrian Lopez2011-02-121-4/+1
|
* fixture should quack like a hashAaron Patterson2011-02-111-1/+9
|
* log method takes an option list of bind valuesAaron Patterson2011-02-094-8/+10
|
* 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
* mysql2 should log these sql statementsAaron Patterson2011-02-071-1/+1
|
* 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-044-11/+27
| | | | 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
|
* refactor a bunch of return / if to a case / whenAaron Patterson2011-02-032-26/+30
|
* add_limit_offset! is deprecatedAaron Patterson2011-02-031-0/+1
|
* just use the superclass implementationAaron Patterson2011-02-031-49/+0
|
* 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
* this method should never return nilAaron Patterson2011-02-021-1/+1
|
* just require mysql2Aaron Patterson2011-02-021-1/+1
|
* adding mysql2 adapterAaron Patterson2011-02-021-0/+657
|
* moving AR::ConnectionAdapters::Column to its own fileAaron Patterson2011-02-013-263/+269
|
* 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-313-60/+148
|
* 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
|
* SQLite3 has supported savepoints since version 3.6.8, we should use this!Jon Leighton2011-01-112-2/+18
|
* remove unused string substitutionAaron Patterson2011-01-081-6/+1
|
* only rescue from Mysql::Error exceptions [#6236 state:resolved]Aaron Patterson2011-01-071-4/+9
|
* 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-032-0/+4
|
* 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
|