Insert relation table data with Relation Active Record

Hi all

How to add new record to relation table with relation active record ?

for example

$userModel->with(‘email’)->title = ‘Email title’;

$userModel->with(‘email’)->message = ‘Message’;

$userModel->with(‘email’)->save();

you mean this?

http://www.yiiframework.com/extension/eadvancedarbehavior/