On 06/06/2010 20:18, Jens Ulf Dittrich wrote:
I guess you have no Class "InvoiceRows" in your Models. I think your Invoice AppModel should be something like:

...
var $hasMany = array(
    'InvoiceRows' => array( // I guess that is ok for the name
'className' => 'Invoice', // <-- this one has to be a name of an actually existing Model/Table
        .....

Hi Jens

InvoiceRows works fine alrready, i Have classname as InvoiceRows, a table in db invoice_rows and model file invoice_rows.php but thanks for the help anyway.

--
Best Regards Christopher Hanson

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