def create
      return unless new_record?

      parent_machine.with_open_session do |session|
        machine = session.machine
        machine.create_shared_folder(name, host_path, writable)
      end

      existing_record!
      clear_dirty!
    end
def create
      return unless new_record?

      parent_machine.with_open_session do |session|
        machine = session.machine
        machine.create_shared_folder(name, host_path, writable)
      end

      existing_record!
      clear_dirty!
    end
Creates a new shared folder. This method should not be called directly.
 Instead, {save} should always be called, which will do the right thing.