if you have a model called details with fields id and product_id, it
should ask if product is somehow related - can print out the tables?

Zoltan
www.yyztech.ca

On Sep 6, 2:09 pm, su6z3r0 <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I am trying to use bake (v. 1.2 cake) to create models.
>
> The database setup is very easy for testing purposes:
>
> products:
> id
>
> details:
> id
> product_id
>
> Now what I expected when useing bake is that it detects the
> association "Product hasMany Detail" because of the nameing
> convention. But when I try to bake the product model, bake doesn't
> detect any associations. Is there anything I am doing wrong?
>
> TIA,
> Alex


--~--~---------~--~----~------------~-------~--~----~
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