This plugin adds completion for [Ruby On Rails Framework](https://rubyonrails.org/) and [Rake](https://ruby.github.io/rake/) commands, as well as some aliases for logs and environment variables.
This plugin adds completion for [Ruby On Rails Framework](https://rubyonrails.org/) and
[Rake](https://ruby.github.io/rake/) commands, as well as some aliases for logs and environment variables.
To use it, add `rails` to the plugins array in your zshrc file:
To use it, add `rails` to the plugins array in your zshrc file:
...
@@ -67,7 +68,9 @@ plugins=(... rails)
...
@@ -67,7 +68,9 @@ plugins=(... rails)
These are global aliases. Use in combination with a command or just run them
These are global aliases. Use in combination with a command or just run them
separately. For example: `REP rake db:migrate` will migrate the production db.
separately. For example: `REP rake db:migrate` will migrate the production db.
### Legacy rake aliases
## Legacy
### Rake aliases
The following commands are run [using `rails` instead of `rake` since Rails v5][1], but are preserved under the
The following commands are run [using `rails` instead of `rake` since Rails v5][1], but are preserved under the
prefix `rk` for backwards compatibility.
prefix `rk` for backwards compatibility.
...
@@ -93,7 +96,7 @@ prefix `rk` for backwards compatibility.
...
@@ -93,7 +96,7 @@ prefix `rk` for backwards compatibility.