aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters
Commit message (Collapse)AuthorAgeFilesLines
* Fix warning: ambiguous first argument.kennyj2012-05-181-1/+1
|
* Merge pull request #6192 from ↵Aaron Patterson2012-05-161-8/+11
|\ | | | | | | | | danmcclain/add_inet_and_cidr_types_to_postgresql_adapter Add support for macaddr, inet, and cidr types to PostgreSQL adapter
| * Removes NetAddr dependencyDan McClain2012-05-081-3/+4
| |
| * Converts inet and cidr columns to NetAddr::CIDRDan Seaver2012-05-071-4/+6
| |
| * Adds migration and schema dump support for INET, CIDR, and MACADDRDan Seaver2012-05-051-3/+3
| |
* | Remove unneeded testsPiotr Sarnacki2012-05-161-12/+0
| |
* | SQLite3 doesn't actually support the 'time' type.Erich Menge2012-05-151-0/+5
| |
* | Set the primary key during #copy_table if necessary. Fixes [#2312]Sean Scally2012-05-141-0/+8
| |
* | Add config option, rdoc, tests for mysql(2) STRICT_ALL_TABLES mode.Michael Pearson2012-05-052-0/+29
|/
* Merge pull request #3713 from kf8a/masterAaron Patterson2012-05-041-0/+12
|\ | | | | 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-0/+12
| |
* | Merge pull request #5698 from dougcole/support_postgresql_partitioningAaron Patterson2012-04-271-0/+31
|\ \ | | | | | | Support postgresql partitioning by making INSERT RETURNING optional
| * | refactor configuration of insert_returningDoug Cole2012-04-071-19/+15
| | |
| * | pick better names and add a little documentationDoug Cole2012-04-011-8/+8
| | |
| * | improve test coverageDoug Cole2012-03-311-0/+26
| | |
| * | add use_returning as a postgresql connection configDoug Cole2012-03-311-0/+9
| | |
* | | find and replace deprecated keysJon Leighton2012-04-272-2/+2
| | |
* | | %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other ↵Jon Leighton2012-04-274-7/+7
| | | | | | | | | | | | things
* | | fix tests for SQLite3AdapterAndrey Deryabin2012-04-271-1/+1
| | |
* | | fix tests for sqlite3Andrey Deryabin2012-04-271-1/+1
| | |
* | | remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-262-2/+2
| | |
* | | Always quote hstore keys and valuesRyan Fitzgerald2012-04-241-1/+9
| | | | | | | | | | | | | | | | | | | | | 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.
* | | be sure to currectly fetch PK name from MySQL even if the PK has some custom ↵Akira Matsuda2012-04-191-0/+30
|/ / | | | | | | option
* | Fix GH #5430. A Payload name for schema_search_path should be SCHEMA.kennyj2012-03-151-0/+7
| |
* | Merge pull request #5306 from kennyj/fix_69c7f02José Valim2012-03-082-2/+2
|\ \ | | | | | | Change the message string to use in test case.
| * | Change the string to use in test case.kennyj2012-03-072-2/+2
| | |
* | | Merge pull request #5315 from ↵Aaron Patterson2012-03-071-2/+41
|\ \ \ | |/ / |/| | | | | | | | travisjeffery/enhance_postgresql_adapter_schema_support Enhance PostgreSQL Adapter schema support
| * | Adds #create/drop_schema on the PostgreSQL Adapter.Travis Jeffery2012-03-071-2/+37
| | |
| * | Add #schema_names to PostgreSQL Adapter.Travis Jeffery2012-03-071-0/+4
| | |
* | | Fix message assertions for quoting database name in "show tables" for mysqlCarlos Antonio da Silva2012-03-042-2/+2
| | |
* | | Fix GH #3163. Should quote database on mysql/mysql2.kennyj2012-03-052-0/+21
|/ /
* | only log an error if there is a logger. fixes #5226Aaron Patterson2012-03-021-0/+9
| |
* | Remove NULLS FIRST/LAST. closes #5152kennyj2012-02-251-0/+5
| |
* | Restored ability to identify ID and Sequence from tables relying on a ↵William Lawson2012-02-201-3/+7
| | | | | | | | nonmatching sequence default value for PK.
* | Merge branch 'joelhoffman-postgres_schema_builder' into instance_readerAaron Patterson2012-02-101-8/+68
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * joelhoffman-postgres_schema_builder: Also support writing the hstore back to the database Hstore values are all strings string_to_hstore / hstore_to_string, serializing don't test schema where hstore not installed schema dumper tests for hstore Additional hstore tests, supporting null values, better compliance with postgres docs add hstore to postgres native types and defaults Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
| * | Also support writing the hstore back to the databaseJoel2012-02-081-0/+8
| | |
| * | string_to_hstore / hstore_to_string, serializingJoel2012-02-081-6/+6
| | |
| * | Additional hstore tests, supporting null values, better compliance with ↵Joel2012-02-081-7/+59
| | | | | | | | | | | | postgres docs
* | | Made schema dumper recognize partial indices' where statementsMarcelo Silveira2012-02-091-0/+6
| | |
* | | Added where option to add_index to support postgresql partial indicesMarcelo Silveira2012-02-091-0/+12
|/ / | | | | | | | | | | | | | | | | | | | | The `add_index` method now supports a `where` option that receives a string with the partial index criteria. add_index(:accounts, :code, :where => "active") Generates CREATE INDEX index_accounts_on_code ON accounts(code) WHERE active
* | Don't type-cast unknown types to YAML.Stephen Celis2012-01-201-2/+2
| |
* | Postgresql: add test case for setting custom libpq connection parametersLars Kanis2012-01-041-0/+15
| |
* | Fix CIJon Leighton2011-12-282-11/+11
| |
* | remove checks for encodings availabilitySergey Nartimov2011-12-252-16/+6
| |
* | deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-241-2/+0
| |
* | skip hstore tests on PG databases that do not have hstoreAaron Patterson2011-12-201-2/+8
| |
* | making sure updates workAaron Patterson2011-12-201-7/+13
| |
* | hstores can cycleAaron Patterson2011-12-201-2/+26
| |
* | can create hstore records via AR APIAaron Patterson2011-12-201-0/+7
| |
* | multiple key / values workAaron Patterson2011-12-201-0/+6
| |