In a custom validate method.
http://rails.rubyonrails.com/classes/ActiveRecord/
Validations.html#M000671
--
-- Tom Mornini
On Feb 19, 2006, at 8:59 AM, David Corbin wrote:
> I have an object O with two ''collections''. The minimum
size for B
> is A.length
> + 1.
>
> Also, B has to be a proper subset of A.
>
> What is the correct way to validate B?
>
> David
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails