Add some commands to misc section in CLI guide

Add these two command:

* `rails initializers`
* `rails middleware`
This commit is contained in:
OKURA Masafumi 2019-06-20 15:11:13 +09:00
parent bf625f7fec
commit 7250c0ae4e

@ -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.