diff options
author | OKURA Masafumi <masafumi.o1988@gmail.com> | 2019-06-20 15:11:13 +0900 |
---|---|---|
committer | OKURA Masafumi <masafumi.o1988@gmail.com> | 2019-06-20 18:49:50 +0900 |
commit | 7250c0ae4e9e3be848f3c24df3e946daba13af13 (patch) | |
tree | ab8b3ab8e070691380df3f96c42e48de2ff5a65c | |
parent | bf625f7fecabbcda22b388e088ad5c29016b2385 (diff) | |
download | rails-7250c0ae4e9e3be848f3c24df3e946daba13af13.tar.gz rails-7250c0ae4e9e3be848f3c24df3e946daba13af13.tar.bz2 rails-7250c0ae4e9e3be848f3c24df3e946daba13af13.zip |
Add some commands to misc section in CLI guide
Add these two command:
* `rails initializers`
* `rails middleware`
-rw-r--r-- | guides/source/command_line.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/command_line.md b/guides/source/command_line.md index 4681574edd..60d0de17bc 100644 --- a/guides/source/command_line.md +++ b/guides/source/command_line.md @@ -601,6 +601,8 @@ The `tmp:` namespaced commands will help you clear and create the `Rails.root/tm ### Miscellaneous +* `rails initializers` prints out all defined initializers in the order they are invoked by Rails. +* `rails middleware` lists Rack middleware stack enabled for your app. * `rails stats` is great for looking at statistics on your code, displaying things like KLOCs (thousands of lines of code) and your code to test ratio. * `rails secret` will give you a pseudo-random key to use for your session secret. * `rails time:zones:all` lists all the timezones Rails knows about. |