allowing to pass an has many relationship on create record. Fixes #1497

Fixes #1497
cc/ @igorT 
I would call _extractAttributes otherwise we will set the relationship twice. Maybe extract attributes, relationships and then warn if there is anything left?