Forum: Ruby on Rails Can table ID column be a string?

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.
B8450093425b4a8b2c2c888671418245?d=identicon&s=25 Dcjgoose (Guest)
on 2007-05-02 20:28
(Received via mailing list)

Does rails assume that all table columns called "id" are int's?
Asking because I am connecting to a non-rails db and some of the
tables have an id column that is defined as string.

8716cce9a7b721786e5425b8cc1f9951?d=identicon&s=25 unknown (Guest)
on 2007-05-02 22:06
(Received via mailing list)
This topic is locked and can not be replied to.