From dd643f48936b9e45ed131e5278c3d5ff25f6b20d Mon Sep 17 00:00:00 2001 From: Abhay Nikam Date: Wed, 8 May 2019 20:57:16 +0530 Subject: Fix indentation for config.eager_load nil warning message --- railties/lib/rails/application/bootstrap.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'railties/lib/rails/application') diff --git a/railties/lib/rails/application/bootstrap.rb b/railties/lib/rails/application/bootstrap.rb index e3c0759f95..a20f86dd93 100644 --- a/railties/lib/rails/application/bootstrap.rb +++ b/railties/lib/rails/application/bootstrap.rb @@ -20,13 +20,13 @@ module Rails initializer :set_eager_load, group: :all do if config.eager_load.nil? warn <<-INFO -config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly: + config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly: - * development - set it to false - * test - set it to false (unless you use a tool that preloads your test environment) - * production - set it to true + * development - set it to false + * test - set it to false (unless you use a tool that preloads your test environment) + * production - set it to true -INFO + INFO config.eager_load = config.cache_classes end end -- cgit v1.2.3