On 9/19/07, axpen <[EMAIL PROTECTED]> wrote:
> -------------------
> Basically I want to get the description field from into the products
> model from the model component. That way I can work with it from the
> controller component. Now if you guys know of a standard way this is
> supposed to be done and that standard way is through the controller
> then that is fine, i'm just trying to follow standards as much as
> possible.

Associations require keys, so if there is no key there cannot be an
association.  You can change the field CakePHP expects to be the
primary key for a record ('id' by default).  Dig around in the manual
to find out how to do it.

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

My motto for 2007:  "Just build it, damnit!"

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to