]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/development.rb
Merge pull request #1558 from plarus/master
[rails.git] / config / environments / development.rb
index e54e3bf06a18a988faa6dd7dddd2c8d9edce5cd8..778e629eb49a987d1ac4620ffaaa9948e7ad0789 100644 (file)
@@ -14,7 +14,7 @@ Rails.application.configure do
 
   # Enable/disable caching. By default caching is disabled.
   # Run rails dev:cache to toggle caching.
-  if Rails.root.join("tmp", "caching-dev.txt").exist?
+  if Rails.root.join("tmp/caching-dev.txt").exist?
     config.action_controller.perform_caching = true
     config.action_controller.enable_fragment_cache_logging = true
 
@@ -62,4 +62,7 @@ Rails.application.configure do
   # Use an evented file watcher to asynchronously detect changes in source code,
   # routes, locales, etc. This feature depends on the listen gem.
   config.file_watcher = ActiveSupport::EventedFileUpdateChecker
+
+  # Disable host validation.
+  config.hosts = []
 end