diff options
author | Rafael França <rafael@franca.dev> | 2019-07-24 15:23:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-24 15:23:44 -0400 |
commit | 5f774ac4585007dc46b5ae5f7ca11d4870c0d5ce (patch) | |
tree | 1a7c66f6167b5cc95e58cd167973bb690c5e4610 /guides/source | |
parent | dc7b650e15d778f56fc363a3689f57702c885399 (diff) | |
parent | 7250c0ae4e9e3be848f3c24df3e946daba13af13 (diff) | |
download | rails-5f774ac4585007dc46b5ae5f7ca11d4870c0d5ce.tar.gz rails-5f774ac4585007dc46b5ae5f7ca11d4870c0d5ce.tar.bz2 rails-5f774ac4585007dc46b5ae5f7ca11d4870c0d5ce.zip |
Merge pull request #36524 from okuramasafumi/add-middleware-command-to-command-line-guide
Add `rails initializers` and `rails middleware` to miscellaneous section in Rails Command Line guide [ci skip]
Diffstat (limited to 'guides/source')
-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. |