Skip to content

Instantly share code, notes, and snippets.

@steveclarke
Created April 3, 2012 18:52
Show Gist options
  • Save steveclarke/2294641 to your computer and use it in GitHub Desktop.
Save steveclarke/2294641 to your computer and use it in GitHub Desktop.
Update ElasticSearch index using Tire
Product.all.each { |p| p.tire.update_index }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment