Oops, this didn''t come to the list at all.
> http://rails.rubyonrails.com/classes/ActiveRecord/Validations/
> ClassMethods.html#M000350
validates_inclusion_of :gender, :in=>%w( m f ), :message=>"woah! what
are you then!??!!"
Replace ( m f ) with your own values.
Both ar. and rails. work, the former only has ActiveRecord API in it,
tho. The end of the uri had somehow slipped away from my original post,
that was the reason for 403''s. Sorry for the inconvenience.
//jarkko
Begin forwarded message:
> From: Jarkko Laine <jarkko-k1O+Gnc6WpmsTnJN9+BGXg@public.gmane.org>
> Date: 18. helmikuuta 2005 22:56:42 GMT+02:00
> To: vacindak-HInyCGIudOg@public.gmane.org
> Subject: Re: [Rails] Re: Bug with ENUM?
>
> http://rails.rubyonrails.com/classes/ActiveRecord/Validations/
> ClassMethods.html#M000350
>
> I think it was this what I meant :-) Dunno what happened to the rest
> of the uri.
>
> //jarkko
>
> On 18.2.2005, at 22:47, Bob Aman wrote:
>
>>>> http://rails.rubyonrails.com/classes/ActiveRecord/Validations/
>>>
>>> http://ar.rubyonrails.com/classes/ActiveRecord/Validations/
>>
>> I don''t know about the rest of you guys, but I get 403 errors
on both
>> of those links.
>>
>> --
>> Bob Aman
>>
> --
> Jarkko Laine
> http://jlaine.net
> http://odesign.fi
>
--
Jarkko Laine
http://jlaine.net
http://odesign.fi
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails