Re: Re: Bug with ENUM?

Bob Aman
2005-02-18T20:58:59Z

> I did on rails, then ar. worked. I suppose you just have to find it
> yourself :-)
>
> Browse from http://ar.rubyonrails.com/

http://ar.rubyonrails.com/classes/ActiveRecord/Validations.html

In any case, lacking the underlying ruby knowledge, I''m not sure
exactly how to search through the array of valid string values and
check if the input is among the entries.  Is there a convenient
.contains? method?

--
Bob Aman