Hi there Bakers --

I have two tables that are joined via a belongsTo and hasOne relationship. 
When I bake my views for the "parent" table...none of the "child" table
fields show up in the index or edit screens...

If I look at the generated SQL, the relationships work and when pasted into
a db...all the data from both tables comes back as one row...just isn't
displayed on the index or edit pages.

Also, I can manually get the fields to show and display data from the
database but I am wondering why cake bake isn't putting the data into the
view by default...I wonder about this because a previous version of cake did
in fact do this...

Is there any way to force cake bake to include this child table fields in
the generated views of the parent?  Obviously, I can add them myself but if
I can get cake bake to do it for me, all the better.

Many thanks!
-- 
View this message in context: 
http://www.nabble.com/Baked-views-and-hasOne---belongsTo-relationship-tp15423574p15423574.html
Sent from the CakePHP mailing list archive at Nabble.com.


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