# File lib/dm-types/slug.rb, line 13
      def self.dump(value, property)
        if value.nil?
          nil
        elsif value.is_a?(String)
          #Iconv.new('UTF-8//TRANSLIT//IGNORE', 'UTF-8').iconv(value.gsub(/[^\w\s\-\—]/,'').gsub(/[^\w]|[\_]/,' ').split.join('-').downcase).to_s
          escape(value)
        else
          raise ArgumentError.new("+value+ must be nil or a String")
        end
      end