1
|
1
|
new file mode 100644
|
...
|
...
|
@@ -0,0 +1,12 @@
|
|
0
|
+alias rs='ruby script/rails server'
|
|
1
|
+alias rg='ruby script/rails generate'
|
|
2
|
+alias rd='ruby script/rails destroy'
|
|
3
|
+alias rp='ruby script/rails plugin'
|
|
4
|
+alias rdbm='rake db:migrate db:test:clone'
|
|
5
|
+alias rc='ruby script/rails console'
|
|
6
|
+alias rd='ruby script/rais server --debugger'
|
|
7
|
+alias devlog='tail -f log/development.log'
|
|
8
|
+
|
|
9
|
+function remote_console() {
|
|
10
|
+ /usr/bin/env ssh $1 "( cd $2 && ruby script/rails console production )"
|
|
11
|
+}
|