dasherize()
Replaces underscores with dashes in the string.
'puni_puni'.dasherize # => "puni-puni"
See ActiveSupport::Inflector.dasherize.
# File activesupport/lib/active_support/core_ext/string/inflections.rb, line 148 def dasherize ActiveSupport::Inflector.dasherize(self) end