OSDN Git Service

rails upgrade to 4
[pettanr/pettanr.git] / config / environments / development.rb
index e16e8c4..72d98a8 100644 (file)
@@ -15,9 +15,6 @@ end
   # since you don't have to restart the web server when you make code changes.
   config.cache_classes = false
 
-  # Log error messages when you accidentally call methods on nil.
-  config.whiny_nils = true
-
   # Show full error reports and disable caching
   config.consider_all_requests_local       = true
   config.action_controller.perform_caching = false
@@ -28,9 +25,6 @@ end
   # Print deprecation notices to the Rails logger
   config.active_support.deprecation = :log
 
-  # Only use best-standards-support built into browsers
-  config.action_dispatch.best_standards_support = :builtin
-
   # Do not compress assets
   config.assets.compress = false
 
@@ -39,5 +33,7 @@ end
   
   # config.assets.digest = true
   # config.static_cache_control = "public, max-age=1"
+config.eager_load = false
+config.active_record.migration_error = :page_load
 end