method
dasherize
rails latest stable - Class:
Inflector
dasherize(underscored_word)public
Replaces underscores with dashes in the string.
Example:
"puni_puni" # => "puni-puni"
dasherize(underscored_word)Replaces underscores with dashes in the string.
Example:
"puni_puni" # => "puni-puni"