[Rails] Re: Oracle Bug

Ivan Medda
Wed, 01 Mar 2006 15:56:36 -0000

Ok,
Now the compiler search the ''id'' column into the table. But
tell me it:

invalid column name: select * from (select raw_sql_.*, rownum raw_rnum_
from (SELECT * FROM ago.prova_stats WHERE (ago.prova_stats.id =
''1.0'') )
raw_sql_ where rownum <= 1) where raw_rnum_ > 0

The problem is a bad ''id'' type? I say Oracle to ALTER the
Prova_stats
table,to contain the column ''id'' and i give it the
''NUMBER'' TYPE.
Is it correct? I think no.


Chris wrote:
> Create the column ''id'' and you will be ok.