aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2019-05-08 14:26:48 -0400
committerGitHub <noreply@github.com>2019-05-08 14:26:48 -0400
commita6634ed0f257137ec08e9e7ef0e6ba755d980850 (patch)
tree2aedbb93d62c34c91d2a92b85ec5976c208b1379
parent75c13b5d89b36472c51d84a1d00a9d79b1dd16dd (diff)
parentdd643f48936b9e45ed131e5278c3d5ff25f6b20d (diff)
downloadrails-a6634ed0f257137ec08e9e7ef0e6ba755d980850.tar.gz
rails-a6634ed0f257137ec08e9e7ef0e6ba755d980850.tar.bz2
rails-a6634ed0f257137ec08e9e7ef0e6ba755d980850.zip
Merge pull request #36214 from abhaynikam/36211-fix-indentation
Fix indentation for config.eager_load nil warning message
-rw-r--r--railties/lib/rails/application/bootstrap.rb10
1 files changed, 5 insertions, 5 deletions
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