# File lib/active_support/core_ext/string/filters.rb, line 18 def squish! strip! gsub!(/\s+/, ' ') self end