Re: Bug with ENUM?

Bob Aman
2005-02-18T17:24:27Z

> This seems..... wrong.... somehow.

Apparently, rails doesn''t really support the MySQL enum type and I
should use a varchar instead.  Probably should have googled for more
information.  However, I''m still confused as to why I would get this
eratic behavior, even if enums weren''t supported.  Wouldn''t it
make
more sense to throw an exception if dealing with an enum?  Coming back
with 0 in inexplicable circumstances but working fine in others
strikes me as a Bad Thing(tm).

But then again, I''m a noob, what do I know?

--
Bob Aman