Another newbie question: can some one point me to a tutorial or explain how to validate an 'add' method that would simultaneously add records to two related tables?
basically, there is a ticket field and each ticket hasmany comments. conversely each comment belongsto only one ticket. in order to start a ticket, you must add one comment at the same time on the same form. the queries work fine when viewing the data, but when validating, i 1) have to do validation twice, once on each model, and 2) have to save twice. is there an easy solution? i found that other people asked similar questions here, but most of the posts were old and the solutions hacks. is there a cakephp way? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
