Forum: Ruby on Rails RE: Re: Re: Oracle unit test problem in Rails 1.1.2/Ruby-OCI

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Berger, Daniel (Guest)
on 2006-04-12 20:07
(Received via mailing list)
> > On 4/11/06, Lori O. <removed_email_address@domain.invalid> wrote:
> Okey, dokey.  I'll see about posting an example.  Thanks for
> confirming.

Looks to me like there's actually two problems.  First, although there's
a 'limit' method, there's no 'scale' method for
ActiveRecord::ConnectionAdapters::OracleColumn.  Second, even if there
was, it's not being used in the schema dumper.

So, it looks like we need to add 'attr_reader :scale' to
schema_definitions.rb (which is where class Column, the superclass of
OracleColumn is defined) as well as add a line in schema_dumper.rb that
prints the scale, if present.  I think this would go around line 89.


This topic is locked and can not be replied to.