ohmyzsh/plugins/rails/rails.plugin.zsh
Srihari Sriraman b2b5e3a754 Added alias to rake db:test:prepare
Quite often, db:test:prepare is run after db:migrate.
Added for convenience.
2012-11-24 20:42:40 +05:30

15 lines
474 B
Bash

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