aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge remote branch 'rude/disable-keys-for-postgres-9.0.1' into pgAaron Patterson2010-12-091-6/+7
|\ | | | | | | | | | | * rude/disable-keys-for-postgres-9.0.1: Cleaner way to extract the Postgres version Fix Bug: disable_referential_integrity doesn't work for postgres 9.0.1
| * Cleaner way to extract the Postgres versionMatthew Rudy Jacobs2010-11-211-2/+6
| |
| * Fix Bug: disable_referential_integrity doesn't work for postgres 9.0.1Matthew Rudy Jacobs2010-11-211-4/+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
| |
* | Avoid creating local var.Emilio Tagua2010-11-241-2/+1
| |
* | Use params default.Emilio Tagua2010-11-241-2/+1
| |
* | Removed ids_in_list_limit in favor of in_clause_length defined in ↵Alex Rothenberg2010-11-231-5/+0
|/ | | | database_limits.rb
* Adapters can specify maximum number of ids they support in a list of expressionsAlex Rothenberg2010-11-181-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
* use column names as order by complex function parameters, fix for postgresql ↵Raimonds Simanovskis2010-11-071-1/+1
| | | | | | adapter to correctly remove ASC/DESC Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>