Re: simple relation

2007-05-24 Thread soytuny
Set up a belongsTo relationship in your Project model. var $belongsTo = array('Status'); should be enough. On May 24, 2:27 pm, pete <[EMAIL PROTECTED]> wrote: > hi, > i still play around with creating a simple relation, and i don't get > it to run. > thanks &

simple relation

2007-05-24 Thread pete
hi, i still play around with creating a simple relation, and i don't get it to run. thanks pete TABLES: status id description project id status_id project_title CONTROLLER $this->set('projects', $this->Project->findAll()); every project has one status. ho