how to update fields in another model simultaneously

hi, not sure how to word this question. Here is the scenario:

I have a Post model with Content in a separate table named Pcontent with HAS_ONE relationship. If I query the content item, I use $post->pcontent->content.

Now for the Create method, how could I implement so that I can update the two tables simultaneously?

Apparently, I cannot use

CHtml::activeTextArea($post,'content')

thanks,

See: http://www.yiiframew…oc/cookbook/19/

PoL, thank you very much. It works. I should have read all the cookbooks.  :)