A rails3 plugin based on the rails plugin
This commit is contained in:
parent
7a1dd5a172
commit
7eeb7d5ea7
1 changed files with 12 additions and 0 deletions
12
plugins/rails3/rails3.plugin.zsh
Normal file
12
plugins/rails3/rails3.plugin.zsh
Normal file
|
@ -0,0 +1,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 )"
|
||||||
|
}
|
Loading…
Reference in a new issue