Skip to content
代码片段 群组 项目
未验证 提交 04736b58 编辑于 作者: Evan Read's avatar Evan Read 提交者: GitLab
浏览文件

Merge branch 'gg-doc-disable-autocomplete' into 'master'

Add note how to enable disable autocomplete on the rails console

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/151952



Merged-by: default avatarEvan Read <eread@gitlab.com>
Approved-by: default avatarEvan Read <eread@gitlab.com>
Co-authored-by: default avatarGerardo Gutierrez <ggutierrez@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -59,6 +59,13 @@ The console is in the toolbox pod. Refer to our [Kubernetes cheat sheet](https:/
To exit the console, type: `quit`.
### Disable autocompletion
Ruby autocompletion can slow down the terminal. If you want to:
- Disable autocompletion, run `Reline.autocompletion = IRB.conf[:USE_AUTOCOMPLETE] = false`.
- Re-enable autocompletion, run `Reline.autocompletion = IRB.conf[:USE_AUTOCOMPLETE] = true`.
## Enable Active Record logging
You can enable output of Active Record debug logging in the Rails console
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册