Forum: Nitro property Integer no longer works in repo version (Fixnum still does)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4feed660d3728526797edeb4f0467384?d=identicon&s=25 Bill Kelly (Guest)
on 2007-12-18 01:07
(Received via mailing list)
Hi,

I'm in the habit of declaring integer properties like:

  property :foo, Integer

This used to work, but in the current repo version, the type is
omitted entirely when the table is created:

For ex:

DEBUG: CREATE TABLE "ogsometable" ("foo" , "oid" serial PRIMARY KEY)
WITHOUT OIDS
                                       ^^^

If I change it to:

  property :foo, Fixnum

Then it works:

DEBUG: CREATE TABLE "ogsometable" ("foo" integer, "oid" serial PRIMARY
KEY) WITHOUT OIDS


(I'm using the Postgresql adapter.)


Regards,

Bill
7a4e995e378ef66de0ceaea5e1381ee1?d=identicon&s=25 George Moschovitis (Guest)
on 2007-12-18 09:27
(Received via mailing list)
thanks for reporting...
This topic is locked and can not be replied to.