Re: Re: Bug with ENUM?

Bob Aman
2005-02-18T21:51:45Z

> > In this case:
> > validates_inclusion_of :chosen, :in => valid
> >
> > Put that (and the definition of valid) in your model class and
you''ll be
> > fine.
> >
> > //jarkko
>
> right you are.  OP seemed to be specifically asking about a method on array
> objects though.  sorry for noise.

Yeah, the built in functions were exactly what I was looking for.

--
Bob Aman