Commit eeef2847 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'update-dev-doc-rake-tasks' into 'master'

Update rake to rails in developer documentation with rails6.1 upgrade

See merge request gitlab-org/gitlab!63732
parents da1aa147 724a26d5
......@@ -36,11 +36,11 @@ Find here the [source code setting the attribute](https://gitlab.com/gitlab-org/
#### Rails routes
The `rake routes` command can be used to list all the routes available in the application. Piping the output into `grep`, we can perform a search through the list of available routes.
The `rails routes` command can be used to list all the routes available in the application. Piping the output into `grep`, we can perform a search through the list of available routes.
The output includes the request types available, route parameters and the relevant controller.
```shell
bundle exec rake routes | grep "issues"
bundle exec rails routes | grep "issues"
```
### 2. `modal_copy_button` vs `clipboard_button`
......
......@@ -263,7 +263,7 @@ RESTful API verbs.
For the Rails controllers, run:
```shell
bundle exec rake routes
bundle exec rails routes
```
Since these take some time to create, it's often helpful to save the output to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment