Re: Bug with ENUM?

Bob Aman
2005-02-18T16:48:46Z

> When you display the associated pages, the first foobar gives what you
> would expect.
> However, on the second table foobar.dummy always returns 0, regardless
> of the actual values of the rows in the database.  If you change the
> "acquaintance" value in any way, make it longer, shorter, change
a
> letter to something else, doesn''t matter, then it goes back to
> working.
>
> This seems..... wrong.... somehow.

I''m finding several other circumstances where similar behavior
appears...  is there something wrong with how Rails handles enums?

--
Bob Aman