From 580c28dedd60e9262cd7240a9417e0302a6476da Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 12 Jun 2021 11:07:21 +0800 Subject: feat(rails): add 'rails server --bind' alias (#4977) --- plugins/rails/rails.plugin.zsh | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/rails') diff --git a/plugins/rails/rails.plugin.zsh b/plugins/rails/rails.plugin.zsh index 5b0be4f85..aa7576916 100644 --- a/plugins/rails/rails.plugin.zsh +++ b/plugins/rails/rails.plugin.zsh @@ -52,6 +52,7 @@ alias ru='rails runner' alias rs='rails server' alias rsd='rails server --debugger' alias rsp='rails server --port' +alias rsb='rails server --bind' # Rake aliases alias rdm='rake db:migrate' -- cgit v1.2.3-70-g09d2 From 42f56c5601f814ca34239324eefc9cb96cb4cdbc Mon Sep 17 00:00:00 2001 From: Dzianis Dashkevich Date: Sat, 12 Jun 2021 06:10:00 +0300 Subject: feat(rails): Add `rdmd` and `rdmu` aliases to Rails plugin (#6126) * `rdmd` is aliased to `rake db:migrate:down` * `rdmu` is aliased to `rake db:migrate:up` * These tasks allow you to run a specific migration up or down by specifying the appropriate `VERSION` env variable, which contains the numerical prefix of the migration's filename --- plugins/rails/rails.plugin.zsh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/rails') diff --git a/plugins/rails/rails.plugin.zsh b/plugins/rails/rails.plugin.zsh index aa7576916..34aebbc2c 100644 --- a/plugins/rails/rails.plugin.zsh +++ b/plugins/rails/rails.plugin.zsh @@ -56,7 +56,9 @@ alias rsb='rails server --bind' # Rake aliases alias rdm='rake db:migrate' +alias rdmd='rake db:migrate:down' alias rdms='rake db:migrate:status' +alias rdmu='rake db:migrate:up' alias rdr='rake db:rollback' alias rdc='rake db:create' alias rds='rake db:seed' -- cgit v1.2.3-70-g09d2 From 81db2af60131025f1bb1e25b27fc530066cdba3a Mon Sep 17 00:00:00 2001 From: Dzianis Dashkevich Date: Sat, 12 Jun 2021 06:12:13 +0300 Subject: feat(rails): Add `rdmr` (`rake db:migrate:redo`) alias to Rails plugin (#6124) Co-authored-by: Robby Russell --- plugins/rails/rails.plugin.zsh | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/rails') diff --git a/plugins/rails/rails.plugin.zsh b/plugins/rails/rails.plugin.zsh index 34aebbc2c..29b413434 100644 --- a/plugins/rails/rails.plugin.zsh +++ b/plugins/rails/rails.plugin.zsh @@ -56,6 +56,7 @@ alias rsb='rails server --bind' # Rake aliases alias rdm='rake db:migrate' +alias rdmr='rake db:migrate:redo' alias rdmd='rake db:migrate:down' alias rdms='rake db:migrate:status' alias rdmu='rake db:migrate:up' -- cgit v1.2.3-70-g09d2