Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adds #create/drop_schema on the PostgreSQL Adapter. | Travis Jeffery | 2012-03-07 | 1 | -2/+37 |
| | |||||
* | Add #schema_names to PostgreSQL Adapter. | Travis Jeffery | 2012-03-07 | 1 | -0/+4 |
| | |||||
* | Restored ability to identify ID and Sequence from tables relying on a ↵ | William Lawson | 2012-02-20 | 1 | -3/+7 |
| | | | | nonmatching sequence default value for PK. | ||||
* | Avoid postgres 9.X syntax | Jon Leighton | 2011-12-03 | 1 | -1/+5 |
| | |||||
* | Deprecate set_table_name in favour of self.table_name= or defining your own ↵ | Jon Leighton | 2011-11-29 | 1 | -5/+5 |
| | | | | method. | ||||
* | fixing tests on PG | Aaron Patterson | 2011-11-16 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3521 from ↵ | Aaron Patterson | 2011-11-06 | 1 | -0/+4 |
| | | | | | | nulogy/fix_postgres_adapter_to_handle_spaces_between_schemas Fix postgres adapter to handle spaces between schemas | ||||
* | AR changes to support creating ordered (asc, desc) indexes | Vlad Jebelev | 2011-11-04 | 1 | -4/+12 |
| | |||||
* | reset prepared statement when schema changes imapact statement results. ↵ | Aaron Patterson | 2011-10-18 | 1 | -0/+8 |
| | | | | fixes #3335 | ||||
* | refs #3232. Prepared statements and postgreSQL schemas. | Juan M. Cuello | 2011-10-05 | 1 | -0/+19 |
| | | | | | Add tests for prepared statements with multiple schemas in postgreSQL. | ||||
* | Merge commit 'refs/pull/2909/head' of https://github.com/rails/rails into rawr | Aaron Patterson | 2011-09-07 | 1 | -0/+6 |
| | | | | | | * https://github.com/rails/rails: Postgresql adapter: added current_schema check for table_exists? Postgresql adapter: added current_schema check for table_exists? | ||||
* | Make #extract_schema_and_table an instance method in Utils | Daniel Schierbeck | 2011-07-09 | 1 | -15/+0 |
| | | | | Also, move the utils test into its own test case. | ||||
* | Refactor PostgreSQLAdapter a bit | Daniel Schierbeck | 2011-07-08 | 1 | -2/+2 |
| | | | | | Move the private method #extract_schema_and_table into a separate Utils module so that it can be tested without resorting to #send. | ||||
* | Make PostgreSQL adapter view-compatible | Paul Gallagher | 2011-06-19 | 1 | -1/+0 |
| | | | * amongst other things, allows meta_search to run against view-backed models | ||||
* | make extract_schema_and_table a private method | Paul Gallagher | 2011-06-11 | 1 | -7/+7 |
| | |||||
* | remove table quoting in primary_key method | Paul Gallagher | 2011-06-11 | 1 | -5/+17 |
| | | | * add/cleanup tests | ||||
* | apply private method indentation convention | Paul Gallagher | 2011-06-10 | 1 | -2/+2 |
| | | | * tidy test code and fix my typo | ||||
* | Improve PostgreSQL adapter schema-awareness | Paul Gallagher | 2011-06-10 | 1 | -2/+83 |
| | | | | | | | * table_exists? scoped by schema search path unless schema is explicitly named. Added tests and doc to clarify the behaviour * extract_schema_and_table tests and implementation extended to cover all cases * primary_key does not ignore schema information * add current_schema and schema_exists? methods * more robust table referencing in insert_sql and sql_for_insert methods | ||||
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 1 | -1/+1 |
| | |||||
* | Refactor Active Record test connection setup. Please see the ↵ | Jon Leighton | 2011-06-04 | 1 | -1/+1 |
| | | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases. | ||||
* | index dump should not include full text indexes. Thanks Ken Mayer for the ↵ | Aaron Patterson | 2010-06-26 | 1 | -0/+4 |
| | | | | | | original patch! [#4949 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | reorganizing adapter specific tests. [#4974 state:resolved] | Aaron Patterson | 2010-06-25 | 1 | -0/+193 |
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |