Nate, this appeared to work until I got to the show() action, which
lists all the Menus. There are over 300 menus in the table, and when
Cake tries to find all the product data for each of the 34 product
fields for each of the 300 menus, it chokes. It can't complete the
request. I get a server err
Thanks, Nate. You've been my saving grace on this project!
I ended up having to put almost all 34 in separate manual find()
actions, because of recursion I needed on other associations in the
Menu class, but it eventually worked!
--~--~-~--~~~---~--~~
You receive
Wow, that's a tough one. The only thing I can think of is removing
three or four associations from $belongsTo, and doing them manually
Menu::afterFind( ), which would look something like this (keep in mind,
this code is off-the-cuff and completely untested):
class Menu extends AppModel {
/// ..
I have an app that is basically a menu of products. A user selects
products in 34 drop-downs, and then it spits out a custom menu in PDF
format. I have the associations set up as follows:
///Model 'Enhancement' (excerpt)
var $hasMany = array(
'ProductOne' => ar