I have a virtual field defined in a HABTM model (we'll call
recipes_tags) that is just a concatenation of two fields in this
table.  When I query the model via my app directly i.e : http:/someurl/
recipes_tags/view/1 the virtual field is displayed under the
RecipesTag array.

I have the HABTM defined in the recipe model where Recipe HABTM Tag.
The problem is when I query the recipe model directly (i.e http:/
someurl/recipes/view/156) I see the RecipesTag array and values but it
doesn't contain the virtual field.

It seems as if it's not using the model defined in my recipes_tag
file.  I even tried adding the 'with' in the HABTM definition in the
Recipe model, but no luck - same outcome.

What am I doing wrong?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to