diff --git a/plugins/rails/rails.plugin.zsh b/plugins/rails/rails.plugin.zsh index 0139d22c3..dd8b174b2 100644 --- a/plugins/rails/rails.plugin.zsh +++ b/plugins/rails/rails.plugin.zsh @@ -10,6 +10,8 @@ alias migrate='rake db:migrate && rake db:test:prepare' alias sc='ruby script/console' alias sd='ruby script/server --debugger' alias devlog='tail -f log/development.log' +alias testlog='tail -f log/test.log' +alias prodlog='tail -f log/production.log' alias -g RET='RAILS_ENV=test' alias -g REP='RAILS_ENV=production' alias -g RED='RAILS_ENV=development' diff --git a/plugins/rails3/rails3.plugin.zsh b/plugins/rails3/rails3.plugin.zsh index a2697872a..2555fab67 100644 --- a/plugins/rails3/rails3.plugin.zsh +++ b/plugins/rails3/rails3.plugin.zsh @@ -19,6 +19,8 @@ alias ru='_rails_command runner' alias rs='_rails_command server' alias rsd='_rails_command server --debugger' alias devlog='tail -f log/development.log' +alias testlog='tail -f log/test.log' +alias prodlog='tail -f log/production.log' alias rdm='rake db:migrate' alias rdr='rake db:rollback' alias -g RET='RAILS_ENV=test' diff --git a/plugins/rails4/rails4.plugin.zsh b/plugins/rails4/rails4.plugin.zsh index fce827ee3..cb6cf816d 100644 --- a/plugins/rails4/rails4.plugin.zsh +++ b/plugins/rails4/rails4.plugin.zsh @@ -21,6 +21,8 @@ alias ru='_rails_command runner' alias rs='_rails_command server' alias rsd='_rails_command server --debugger' alias devlog='tail -f log/development.log' +alias testlog='tail -f log/test.log' +alias prodlog='tail -f log/production.log' alias rdm='rake db:migrate' alias rdc='rake db:create' alias rdr='rake db:rollback'