- 15 3月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
Follow-Up to https://github.com/rails/rails/pull/14348 Ensure that SQLCounter.clear_log is called after each test. This is a step to prevent side effects when running tests. This will allow us to run them in random order.
-
- 18 1月, 2014 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 17 1月, 2014 1 次提交
-
-
由 Jonathan Baudanza 提交于
-
- 24 3月, 2013 1 次提交
-
-
由 doabit 提交于
-
- 14 10月, 2012 1 次提交
-
-
由 Arturo Pie 提交于
PostgreSQL adapter properly parses default values when using multiple schemas and domains. When using domains across schemas, PostgresSQL prefixes the type of the default value with the name of the schema where that type (or domain) is. For example, this query: ``` SELECT a.attname, d.adsrc FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = "defaults"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum; ``` could return something like "'<default_value>'::pg_catalog.text" or "(''<default_value>'::pg_catalog.text)::text" for the text columns with defaults. I modified the regexp used to parse this value so that it ignores anything between ':: and \b(?:character varying|bpchar|text), and it allows to have optional parens like in the above second example.
-
- 12 10月, 2012 1 次提交
-
-
由 dfens 提交于
-
- 08 3月, 2012 1 次提交
-
-
由 Travis Jeffery 提交于
-
- 07 3月, 2012 1 次提交
-
-
由 Travis Jeffery 提交于
-
- 20 2月, 2012 1 次提交
-
-
由 William Lawson 提交于
Restored ability to identify ID and Sequence from tables relying on a nonmatching sequence default value for PK.
-
- 04 12月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 30 11月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 17 11月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 07 11月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
Fix postgres adapter to handle spaces between schemas
-
- 05 11月, 2011 1 次提交
-
-
由 Vlad Jebelev 提交于
-
- 19 10月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 06 10月, 2011 1 次提交
-
-
由 Juan M. Cuello 提交于
Add tests for prepared statements with multiple schemas in postgreSQL.
-
- 08 9月, 2011 1 次提交
-
-
https://github.com/rails/rails由 Aaron Patterson 提交于
* https://github.com/rails/rails: Postgresql adapter: added current_schema check for table_exists? Postgresql adapter: added current_schema check for table_exists?
-
- 09 7月, 2011 1 次提交
-
-
由 Daniel Schierbeck 提交于
Also, move the utils test into its own test case.
-
- 08 7月, 2011 1 次提交
-
-
由 Daniel Schierbeck 提交于
Move the private method #extract_schema_and_table into a separate Utils module so that it can be tested without resorting to #send.
-
- 19 6月, 2011 1 次提交
-
-
由 Paul Gallagher 提交于
* amongst other things, allows meta_search to run against view-backed models
-
- 11 6月, 2011 2 次提交
-
-
由 Paul Gallagher 提交于
-
由 Paul Gallagher 提交于
* add/cleanup tests
-
- 10 6月, 2011 2 次提交
-
-
由 Paul Gallagher 提交于
* tidy test code and fix my typo
-
由 Paul Gallagher 提交于
* 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
-
- 07 6月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 05 6月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Refactor Active Record test connection setup. Please see the 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.
-
- 26 6月, 2010 2 次提交
-
-
由 Aaron Patterson 提交于
index dump should not include full text indexes. Thanks Ken Mayer for the original patch! [#4949 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Aaron Patterson 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 19 5月, 2010 1 次提交
-
-
由 Étienne Barrié 提交于
[#3452 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 12 4月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
- 21 4月, 2009 2 次提交
-
-
由 Scott Woods 提交于
Quote table names when casting to regclass so that capitalized tables are supported. [#2418 state:resolved] Signed-off-by: NTarmo Tänav <tarmo@itech.ee>
-
由 Max Lapshin 提交于
Signed-off-by: NTarmo Tänav <tarmo@itech.ee>
-
- 05 4月, 2009 1 次提交
-
-
由 Max Lapshin 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 03 3月, 2008 1 次提交
-
-
由 Michael Koziarski 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8979 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 22 1月, 2008 1 次提交
-
-
git://git.geeksomnia.com/rails由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 18 1月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 05 1月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
* TestCase: introduce declared setup and teardown callbacks. Pass a list of methods and an optional block to call before setup or after teardown. Setup callbacks are run in the order declared; teardown callbacks are run in reverse. [Jeremy Kemper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 30 9月, 2005 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2414 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 13 6月, 2005 1 次提交
-
-
由 Jeremy Kemper 提交于
Branch for PostgreSQL schema. Ticket #827. r1281@iwill: jeremy | 2005-06-12 19:06:43 -0700 remove search_path from PostgreSQL db definition r1282@iwill: jeremy | 2005-06-12 19:07:50 -0700 Rakefile support for database-specific tests. r1283@iwill: jeremy | 2005-06-12 19:10:18 -0700 Add schema_search_path attribute to PostgreSQL adapter. Replace table_structure with column_definitions which finds the given table_name in the schema search path. r1284@iwill: jeremy | 2005-06-12 19:12:10 -0700 Unit test PostgreSQL schema search path. r1285@iwill: jeremy | 2005-06-12 19:12:20 -0700 Changelog entry. r1286@iwill: jeremy | 2005-06-12 20:08:20 -0700 Don't try to quote schema names. Include a reference to the PostgreSQL schema docs. r1287@iwill: jeremy | 2005-06-12 20:16:07 -0700 SchemasTest -> SchemaTest git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-