rails.plugin.zsh 530 B

12345678910111213141516
  1. alias ss='thin --stats "/thin/stats" start'
  2. alias sg='ruby script/generate'
  3. alias sd='ruby script/destroy'
  4. alias sp='ruby script/plugin'
  5. alias sr='ruby script/runner'
  6. alias ssp='ruby script/spec'
  7. alias rdbm='rake db:migrate'
  8. alias rdbtp='rake db:test:prepare'
  9. alias migrate='rake db:migrate && rake db:test:prepare'
  10. alias sc='ruby script/console'
  11. alias sd='ruby script/server --debugger'
  12. alias devlog='tail -f log/development.log'
  13. function remote_console() {
  14. /usr/bin/env ssh $1 "( cd $2 && ruby script/console production )"
  15. }