From ee179088df6b90542d7223220982b54265554f38 Mon Sep 17 00:00:00 2001 From: Israel Tomilayo Date: Mon, 2 Dec 2019 11:28:51 +0100 Subject: [PATCH] [skip ci] Update initialization guide start method to include change - remove #print_boot_infornation method and method call --- guides/source/initialization.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/guides/source/initialization.md b/guides/source/initialization.md index 1ff37cfc71..b8fcacf1c4 100644 --- a/guides/source/initialization.md +++ b/guides/source/initialization.md @@ -338,7 +338,6 @@ defined like this: ```ruby def start - print_boot_information trap(:INT) { exit } create_tmp_directories setup_dev_caching @@ -349,9 +348,10 @@ def start end private - def print_boot_information - ... - puts "=> Run `rails server -h` for more startup options" + def setup_dev_caching + if options[:environment] == "development" + Rails::DevCaching.enable_by_argument(options[:caching]) + end end def create_tmp_directories @@ -360,12 +360,6 @@ private end end - def setup_dev_caching - if options[:environment] == "development" - Rails::DevCaching.enable_by_argument(options[:caching]) - end - end - def log_to_stdout wrapped_app # touch the app so the logger is set up