aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
Commit message (Collapse)AuthorAgeFilesLines
* Adds migration and schema dump support for INET, CIDR, and MACADDRDan Seaver2012-05-051-4/+23
|
* Merge pull request #3713 from kf8a/masterAaron Patterson2012-05-041-2/+7
|\ | | | | postgresql adapter should quote not a number and infinity correctly for float columns
| * postgresql adapter handles quoting of not a number (NaN) and InfinitySven Bohm2011-11-211-2/+7
| |
* | Use arel nodes instead of raw sqlMarcelo Silveira2012-05-021-1/+4
| |
* | Refactored remove_columnEdgars Beigarts2012-05-023-4/+2
| |
* | Don't type cast values that don't respond to to_i to 1James Sanders & Jason Noble2012-04-301-1/+1
| |
* | Remove unused assignmentsMark Rushakoff2012-04-291-5/+3
| |
* | Merge pull request #5698 from dougcole/support_postgresql_partitioningAaron Patterson2012-04-273-9/+44
|\ \ | | | | | | Support postgresql partitioning by making INSERT RETURNING optional
| * | refactor configuration of insert_returningDoug Cole2012-04-071-14/+4
| | |
| * | pick better names and add a little documentationDoug Cole2012-04-011-8/+16
| | |
| * | refactorDoug Cole2012-03-311-13/+8
| | |
| * | update mysql for new exec_insert signatureDoug Cole2012-03-311-1/+1
| | |
| * | add use_returning as a postgresql connection configDoug Cole2012-03-312-6/+48
| | |
* | | renamed class SQLiteColumn to SQLite3ColumnAndrey Deryabin2012-04-271-3/+3
| | |
* | | removed tail of old sqlite versionsAndrey Deryabin2012-04-271-9/+9
| | |
* | | fix SQLite3Adapter docAndrey Deryabin2012-04-271-2/+2
| | |
* | | Upgrade sqlite3 version to 1.3.6Andrey Deryabin2012-04-271-1/+1
| | |
* | | merged sqlite and sqlite3 adaptersAndrey Deryabin2012-04-272-546/+538
| | |
* | | EXPLAIN only for sqlite3Andrey Deryabin2012-04-262-24/+25
| | |
* | | Merge pull request #5973 from academia-edu/masterAaron Patterson2012-04-251-2/+1
|\ \ \ | | | | | | | | Always quote hstore keys and values
| * | | Restore .to_s to escape_hstoreRyan Fitzgerald2012-04-241-1/+1
| | | |
| * | | Always quote hstore keys and valuesRyan Fitzgerald2012-04-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | escape_hstore uses quotation marks around keys and values only if it seems necessary. However, it currently breaks in the presence of some non-ASCII characters. Instead of trying to guess exactly which characters are safe, it seems better to always use quotes.
* | | | Merge pull request #5976 from aderyabin/fix1Jeremy Kemper2012-04-251-5/+0
|\ \ \ \ | | | | | | | | | | Duplicate quote_table_name method
| * | | | already defined in quotingAndrey Deryabin2012-04-251-5/+0
| |/ / /
* / / / cleanliness in method parametersAndrey Deryabin2012-04-251-1/+1
|/ / /
* | | 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