diff config/environments/development.rb @ 195:cb30b72e8ded

Rails 4 deprecated, unused attribs removal.
author Edho Arief <edho@myconan.net>
date Tue, 07 May 2013 23:59:17 +0900
parents a2d87bcd39fb
children f513b1ca455a
line wrap: on
line diff
--- a/config/environments/development.rb	Tue May 07 23:56:27 2013 +0900
+++ b/config/environments/development.rb	Tue May 07 23:59:17 2013 +0900
@@ -6,9 +6,6 @@
   # 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
@@ -25,10 +22,6 @@
   # Raise exception on mass assignment protection for Active Record models
   config.active_record.mass_assignment_sanitizer = :strict
 
-  # Log the query plan for queries taking more than this (works
-  # with SQLite, MySQL, and PostgreSQL)
-  config.active_record.auto_explain_threshold_in_seconds = 0.5 unless RUBY_PLATFORM == 'java'
-
   # Do not compress assets
   config.assets.compress = false