Fixed error trying to build objets for a has many association when the parent model itself was not yet saved