RubyGems.org

Extends ruby "String" class with "urlize" method which converts string to friendly url. It removes all characters that couldn't be used in url and replaces spaces/underscores with dashes. In addition it transliterate string using I18n library.

installgem install string-urlize
Authors

Ivan Garmatenko

4,285 total downloads 2,629 for this version
Owners

Ecf5434de9bbbf7752e236654c9e37f8

Gemfile
gem 'string-urlize', '~> 1.0.2'
Versions
  1. 1.0.2 March 20, 2012 (4 KB)
  2. 1.0.1 March 20, 2012 (4 KB)
  3. 1.0.0 March 19, 2012 (4 KB)
Runtime Dependencies
  1. i18n ~> 0.5
Development Dependencies
  1. cucumber ~> 1.1.9
  2. rspec ~> 2.9