Skip to content

Instantly share code, notes, and snippets.

@waterlink
Created August 12, 2013 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waterlink/6213683 to your computer and use it in GitHub Desktop.
Save waterlink/6213683 to your computer and use it in GitHub Desktop.
Rails development tricks
# ~/.zshrc or ~/.bashrc

# allows you to remigrate your database to state of just changed or merged branch
alias nuke="rake db:drop db:create db:migrate db:test:prepare setup_sample_data"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment