Slugalizer is a one-method Ruby library that can slugalize (or slugify) strings, like this:
Slugalizer.slugalize("Åh, räksmörgåsar!")
# => "ah-raksmorgasar"
slugalizer.rb
Henrik has a fork of Slugalizer on GitHub.
ActiveSupport’s Inflector has parameterize
and transliterate
methods now. You can probably use them instead.