def _create(attributes, execute_hooks = true)
      resource = repository.scope { model.send(execute_hooks ? :create : :create!, default_attributes.merge(attributes)) }
      self << resource if resource.saved?
      resource
    end
def _create(attributes, execute_hooks = true)
      resource = repository.scope { model.send(execute_hooks ? :create : :create!, default_attributes.merge(attributes)) }
      self << resource if resource.saved?
      resource
    end
Creates a resource in the collection

 @param [Boolean] execute_hooks
   Whether to execute hooks or not
 @param [Hash] attributes
   Attributes with which to create the new resource

 @return [Resource]
   a saved Resource

 @api private