Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #6249 (new defect)

Opened 2 years ago

Last modified 2 years ago

[PATCH] db2_adapter tiny patch for table_name's that include the schema

Reported by: jjh Assigned to: contact@maik-schmidt.de
Priority: normal Milestone: 2.x
Component: ActiveRecord Version: edge
Severity: normal Keywords:
Cc:

Description

When you are using DB2 and have customized ActiveRecords that set table_name to include the schema, the DB2Adapter.connection.columns(table_name) returns the wrong information. Inside columns(table_name) it uses the already existing :schema from the database configuration and as a result if table_name has the schema already in it, then there is confusion and no columns are found.

Attachments

db2_schema_in_table_name_patch.diff (1.0 kB) - added by jjh on 09/20/06 19:35:06.

Change History

09/20/06 19:35:06 changed by jjh

  • attachment db2_schema_in_table_name_patch.diff added.

10/09/06 01:47:22 changed by david

  • owner changed from David to contact@maik-schmidt.de.