Update model_extension.rb

This will prevent the following error on model creation with attachments:
You cannot call create unless the parent is saved