Bugs item #12511, was opened at 2007-07-23 20:43
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=7857&aid=12511&group_id=2014

Category: AR-JDBC
Group: None
>Status: Closed
Resolution: None
Priority: 3
Submitted By: Matt Field (bonfigleo)
Assigned to: Nobody (None)
Summary: Probelm when retrieving database meta data (columns)  when the table 
is a view and there exists a table with the same name in a different schema

Initial Comment:
Reproduce by:

1.  Create a model that maps to a view in the default schema.  For example 
model SomeThing where there is a some_thing view in the schema that rails is 
logged into.

2.  Create a some_thing table with different columns in a different schema that 
the user that is logged in can see.

3.  Notice that the columns used in find sql are the columns in the some_thing 
table and not those from the view. 

----------------------------------------------------------------------

>Comment By: Ola Bini (olabini)
Date: 2007-08-11 15:40

Message:
Fixed in trunk.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=7857&aid=12511&group_id=2014
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to