|
|
|
@ -19,17 +19,19 @@ fi
|
|
|
|
|
# Aliases
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
alias ror='bundle exec rails'
|
|
|
|
|
alias rorc='bundle exec rails console'
|
|
|
|
|
alias rordc='bundle exec rails dbconsole'
|
|
|
|
|
alias rordm='bundle exec rake db:migrate'
|
|
|
|
|
alias rordM='bundle exec rake db:migrate db:test:clone'
|
|
|
|
|
alias rordr='bundle exec rake db:rollback'
|
|
|
|
|
alias rorg='bundle exec rails generate'
|
|
|
|
|
alias rorl='tail -f "$(ruby-app-root)/log/development.log"'
|
|
|
|
|
alias rorlc='bundle exec rake log:clear'
|
|
|
|
|
alias rorp='bundle exec rails plugin'
|
|
|
|
|
alias rorr='bundle exec rails runner'
|
|
|
|
|
alias rors='bundle exec rails server'
|
|
|
|
|
alias rorsd='bundle exec rails server --debugger'
|
|
|
|
|
alias rorx='bundle exec rails destroy'
|
|
|
|
|
if ! zstyle -t ':prezto:module:rails:alias' skip; then
|
|
|
|
|
alias ror='bundle exec rails'
|
|
|
|
|
alias rorc='bundle exec rails console'
|
|
|
|
|
alias rordc='bundle exec rails dbconsole'
|
|
|
|
|
alias rordm='bundle exec rake db:migrate'
|
|
|
|
|
alias rordM='bundle exec rake db:migrate db:test:clone'
|
|
|
|
|
alias rordr='bundle exec rake db:rollback'
|
|
|
|
|
alias rorg='bundle exec rails generate'
|
|
|
|
|
alias rorl='tail -f "$(ruby-app-root)/log/development.log"'
|
|
|
|
|
alias rorlc='bundle exec rake log:clear'
|
|
|
|
|
alias rorp='bundle exec rails plugin'
|
|
|
|
|
alias rorr='bundle exec rails runner'
|
|
|
|
|
alias rors='bundle exec rails server'
|
|
|
|
|
alias rorsd='bundle exec rails server --debugger'
|
|
|
|
|
alias rorx='bundle exec rails destroy'
|
|
|
|
|
fi
|
|
|
|
|