Saving Relational Records

I read that Yii 2 will support saving of relational records, but what is the correct practice for doing so?


$form->field($parent, 'child[name]')->textInput()

Yii accepts the above child[name] attribute, but doesn’t seem to actually assign the values to the child class attributes on $model->load($_POST);