Replace with gsub! in ActiveSupport::Inflector.