From your screen shot I can’t really see how you are saving the association now, but:
Depends a bit on which way the association is going, but assuming that 1 Employee is connected with * Overtime_Request objects, you should:
- First create the employee object.
- Then create the Overtime_Request and within this action set the relation to Employee with $NewEmployee
If the association is going the other way( 1 Overtime_Request is associated with * Employees):
- First create the Overtime_Request object
- Then create the Employee object and within this action set the relation to Overtime_Requestwith $NewOvertime_Request