Skip to content

Commit

Permalink
Replace rake commands with bin/rails in aliases.
Browse files Browse the repository at this point in the history
  • Loading branch information
heyvaleria authored and geoffharcourt committed Jul 19, 2021
1 parent 67c6369 commit 42a313b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README-ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Alias de Shell y scripts:

* `b` para `bundle`.
* `g` sin argumentos es `git status` y con argumentos funciona como `git`.
* `migrate` para `rake db:migrate && rake db:rollback && rake db:migrate`.
* `migrate` para `bin/rails db:migrate db:rollback && bin/rails db:migrate db:test:prepare`.
* `mcd` para crear un directorio e ir a él.
* `replace foo bar **/*.rb` para buscar y reemplazar en una lista dada de archivos.
* `tat` para adjuntar a una sesión de tmux llamada igual que el directorio actual.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Shell aliases and scripts:

* `b` for `bundle`.
* `g` with no arguments is `git status` and with arguments acts like `git`.
* `migrate` for `rake db:migrate db:rollback && rake db:migrate db:test:prepare`.
* `migrate` for `bin/rails db:migrate db:rollback && bin/rails db:migrate db:test:prepare`.
* `mcd` to make a directory and change into it.
* `replace foo bar **/*.rb` to find and replace within a given list of files.
* `tat` to attach to tmux session named the same as the current directory.
Expand Down
2 changes: 1 addition & 1 deletion aliases
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ alias v="$VISUAL"
alias b="bundle"

# Rails
alias migrate="rake db:migrate db:rollback && rake db:migrate db:test:prepare"
alias migrate="bin/rails db:migrate db:rollback && bin/rails db:migrate db:test:prepare"
alias s="rspec"

# Pretty print the path
Expand Down

0 comments on commit 42a313b

Please sign in to comment.