because of _id, if you connect 2 models, then they are connected with
modelalias_id in other controller so like that

POST model (hasMany Comment)
posts table:

id,
title,
created,
modified,
...other rows in table

COMMENT model (belongsTo Post)
comments table:

id,
post*_id *//connected with post model, but you have *_id*ent
created,
modified,
... all other rows...


i Hope you understan

--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/3/9 heohni <heidi.anselstet...@consultingteam.de>

> unique_id

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to