aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-03-20 17:08:57 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-03-21 08:13:27 +0900
commit173b524cbcdd338ecfaa3e263343344001394ce2 (patch)
tree966926ebec2187060199deab2ab53eb86ffd21ae /railties/lib
parentdda31d59a03adb7e5aa372e72bb66a3886632f2f (diff)
downloadrails-173b524cbcdd338ecfaa3e263343344001394ce2.tar.gz
rails-173b524cbcdd338ecfaa3e263343344001394ce2.tar.bz2
rails-173b524cbcdd338ecfaa3e263343344001394ce2.zip
changed default value of `caching` option to `nil`
The default is that's false, caching even if you do not specify the caching option is determined not to use, and `tmp/caching-dev.txt` will be deleted. If it is this, regardless of whether or not there is `tmp/caching-dev.txt`, be sure to order would be necessary to specify the caching option, I think that in than good to so as not to do anything by default.
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/commands/server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/server.rb b/railties/lib/rails/commands/server.rb
index 4e5bf34773..c2434d62e2 100644
--- a/railties/lib/rails/commands/server.rb
+++ b/railties/lib/rails/commands/server.rb
@@ -93,7 +93,7 @@ module Rails
DoNotReverseLookup: true,
environment: (ENV['RAILS_ENV'] || ENV['RACK_ENV'] || "development").dup,
daemonize: false,
- caching: false,
+ caching: nil,
pid: Options::DEFAULT_PID_PATH
})
end