Forum: Ruby on Rails Single Table Inheritance using a boolean column

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.
on 2007-08-01 18:58
(Received via mailing list)
Hi everybody,

Is it possible to use a boolean column to determine between classes
instead of a varchar one?
I need it because boolean is faster and takes up less space, and also
makes the SQL schema look better.

This topic is locked and can not be replied to.