Skip to content

Instantly share code, notes, and snippets.

@jimmyeisenhauer
Created May 27, 2012 00:58
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save jimmyeisenhauer/2795771 to your computer and use it in GitHub Desktop.
Save jimmyeisenhauer/2795771 to your computer and use it in GitHub Desktop.
Drop and Rebuild Heroku database
heroku pg:reset SHARED_DATABASE --confirm fasterfaster
heroku run rake db:migrate
heroku run console
Rails.cache.clear
heroku restart
- manually add one record to test
- run performance test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment