aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/application
diff options
context:
space:
mode:
authorAbhay Nikam <nikam.abhay1@gmail.com>2019-05-08 20:57:16 +0530
committerAbhay Nikam <nikam.abhay1@gmail.com>2019-05-08 20:57:16 +0530
commitdd643f48936b9e45ed131e5278c3d5ff25f6b20d (patch)
treebad63cbc1321b5c07eca902b60c949aa16bf6e00 /railties/lib/rails/application
parent28aca474d48b6acdbe8c7861d9347e27c65fafd9 (diff)
downloadrails-dd643f48936b9e45ed131e5278c3d5ff25f6b20d.tar.gz
rails-dd643f48936b9e45ed131e5278c3d5ff25f6b20d.tar.bz2
rails-dd643f48936b9e45ed131e5278c3d5ff25f6b20d.zip
Fix indentation for config.eager_load nil warning message
Diffstat (limited to 'railties/lib/rails/application')
-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