From 7250c0ae4e9e3be848f3c24df3e946daba13af13 Mon Sep 17 00:00:00 2001 From: OKURA Masafumi Date: Thu, 20 Jun 2019 15:11:13 +0900 Subject: Add some commands to misc section in CLI guide Add these two command: * `rails initializers` * `rails middleware` --- guides/source/command_line.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'guides/source') 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. -- cgit v1.2.3