Use the .association directive in ProjectForm to declare the :tasks nested model.