« Return to Thread: Adding Unqiueness Constraint To List

Re: Adding Unqiueness Constraint To List

by Peter Ledbrook-2 :: Rate this Message:

Reply to Author | View in Thread

2008/5/15 James Hughes <J.Hughes@...>:
> "as long as deep validation is switched on"
>
> Is this on by default and where can I check it?  It could be the casue of my problem.

It's on by default. You can do a "shallow" validation like this:

  domain.validate(deepValidate: false)

Cheers,

Peter

--
Software Engineer
G2One, Inc.
http://www.g2one.com/

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Adding Unqiueness Constraint To List

LightInTheBox - Buy quality products at wholesale price