aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
Commit message (Collapse)AuthorAgeFilesLines
* be sure to currectly fetch PK name from MySQL even if the PK has some custom ↵Akira Matsuda2012-04-191-1/+1
| | | | option
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-181-1/+1
|\
| * Fix typo on the add_index.kennyj2012-04-131-1/+1
| |
* | opening a connection will block if the pool is fullAaron Patterson2012-04-151-20/+39
| |
* | Automatically create indexes for references/belongs_to statements in migrations.Joshua Wood2012-04-142-4/+21
|/
* Fix delete_all when chained with joins.Rafael Mendonça França2012-04-102-14/+30
| | | | Closes #5202 and #919
* Merge pull request #5716 from jurriaan/tr-gsub-cleanupSantiago Pastorino2012-04-042-3/+3
|\ | | | | Updated/changed unneeded tr/gsubs
| * Updated/changed useless tr/gsubsJurriaan Pruis2012-04-032-3/+3
| |
* | Remove unnecessary articles.Waseem Ahmad2012-04-031-3/+3
|/
* Deprecate Column#type_cast_codeCarlos Antonio da Silva2012-03-291-0/+4
|
* Merge pull request #4843 from seamusabshere/patch-1Xavier Noria2012-03-281-1/+1
|\ | | | | Possibly clearer way of getting rid of ` and "
| * thanks to @jurriaanSeamus Abshere2012-02-141-1/+1
| |
| * Possibly clearer way of getting rid of ` and " Seamus Abshere2012-02-011-1/+1
| | | | | | | | | | | | | | | | Incidentally it's also faster... >> a = 'hello "id` world'; Benchmark.realtime { 500_000.times { a.tr('`"', "") } } => 0.7388770580291748 >> a = 'hello "id` world'; Benchmark.realtime { 500_000.times { a.gsub(/[`"]/, "") } } => 1.7843739986419678
* | Use one 'be'.Waseem Ahmad2012-03-241-1/+1
| |
* | errors should probably be logged as errorsAaron Patterson2012-03-151-20/+19
| |
* | Fix GH #5430. A Payload name for schema_search_path should be SCHEMA.kennyj2012-03-151-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 pull request #5162 from kennyj/schema_cache_dumpAaron Patterson2012-03-072-16/+53
|\ \ | | | | | | [Proposal] Schema cache dump
| * | Support judgement expired schema cache dump.kennyj2012-03-011-3/+6
| | |
| * | Load db/schema_cache.dump duaring boot time.kennyj2012-03-012-1/+6
| | |
| * | Add db:schema:cache:dump and db:schema:cache:clear tasks.kennyj2012-03-011-0/+9
| | |
| * | Add support schema cache dump and load.kennyj2012-03-011-14/+34
| | |
* | | Merge pull request #5315 from ↵Aaron Patterson2012-03-071-0/+21
|\ \ \ | | | | | | | | | | | | | | | | travisjeffery/enhance_postgresql_adapter_schema_support Enhance PostgreSQL Adapter schema support
| * | | Adds #create/drop_schema on the PostgreSQL Adapter.Travis Jeffery2012-03-071-0/+10
| | | |
| * | | Add #schema_names to PostgreSQL Adapter.Travis Jeffery2012-03-071-0/+11
| | | |
* | | | Fix GH #3163. Should quote database on mysql/mysql2.kennyj2012-03-051-1/+1
|/ / /
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-031-0/+3
|\ \ \
| * | | Add documentation for IndexDefinition.Waseem Ahmad2012-03-021-0/+3
| |/ /
* | | only log an error if there is a logger. fixes #5226Aaron Patterson2012-03-022-2/+2
| | |
* | | 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
| |
* | Merge pull request #5168 from kennyj/fix_5152Aaron Patterson2012-02-271-1/+1
|\ \ | | | | | | [PostgreSQL] Remove NULLS FIRST/LAST. Closes #5152
| * | Remove NULLS FIRST/LAST. closes #5152kennyj2012-02-251-1/+1
| | |
* | | Fix type_to_sql with text and limit on mysql/mysql2. Fix GH #3931.kennyj2012-02-261-9/+20
|/ /
* | 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-216-28/+53
| |
* | more ruby 2.0 respond_to? changesAaron Patterson2012-02-211-1/+1
| |
* | tag bind params with a bind param objectAaron Patterson2012-02-203-3/+3
| |
* | removed commented line. 3434 tests, 10531 assertions, 0 failures, 0 errors, ↵William Lawson2012-02-201-1/+0
| | | | | | | | 31 skips
* | Restored ability to identify ID and Sequence from tables relying on a ↵William Lawson2012-02-201-16/+37
| | | | | | | | nonmatching sequence default value for PK.
* | use Process.pid rather than $$Aaron Patterson2012-02-163-7/+7
| |
* | database connections are automatically established after forking.Aaron Patterson2012-02-162-14/+52
| | | | | | | | Connection pools are 1:1 with pids.
* | Autoload various constants effectively in abstract connection adapter.Waseem Ahmad2012-02-161-9/+12
| |
* | 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
* | remove unnecessary require core_ext/string/encodingSergey Nartimov2012-02-141-1/+0
| |
* | Alias reconnect! to reset! for Mysql2 adapter since they have sameWaseem Ahmad2012-02-121-5/+1
| | | | | | | | behavior.
* | PG column consults oid types when typecastingAaron Patterson2012-02-103-7/+22
| |
* | dynamically populate casting objects via the pg_type tableAaron Patterson2012-02-102-35/+74
| |