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

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.
E49c2e77533477d3c7107f029d9d4b09?d=identicon&s=25 eallik@gmail.com (Guest)
on 2007-08-01 16: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.

Erik
This topic is locked and can not be replied to.