Over a million developers have joined DZone.

Rails Regex: Convert Spaces To Dashes

·

s.gsub!(/\ +/, '-')
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}