Why shoulder the responsibility of defining your tables and
associations correctly on CakePHP?  If Parent hasOne Dependant specify
a unique index on Dependant.parent_id in the database, and define a
unique validation rule on the same field within the model.

As the architects of our applications it is our job to correctly
define our tables and models, not Cake's.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to