rails3.plugin.zsh 421 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
alias rs='ruby script/rails server'
alias rg='ruby script/rails generate'
alias rd='ruby script/rails destroy'
alias rp='ruby script/rails plugin'
alias rdbm='rake db:migrate db:test:clone'
alias rc='ruby script/rails console'
alias rd='ruby script/rais server --debugger'
alias devlog='tail -f log/development.log'

function remote_console() {
  /usr/bin/env ssh $1 "( cd $2 && ruby script/rails console production )"
}