Skip to content

Instantly share code, notes, and snippets.

@adastreamer
Created August 10, 2015 11:58
Show Gist options
  • Save adastreamer/3820038a9668796b3fa3 to your computer and use it in GitHub Desktop.
Save adastreamer/3820038a9668796b3fa3 to your computer and use it in GitHub Desktop.
malee_ecommerce_clean_descriptions
all.each{ |product| product.additional.map{ |propkey, propval| propval = propval.gsub("\n ", "").gsub("\n", "") }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment