Commit 47b2e79b3385a58ed0dbf240504e6494dc16cfc8

Authored by Braulio Bhavamitra
1 parent 62987843

rails4.1: remove configuration not supported

config/environments/development.rb
@@ -23,10 +23,6 @@ Noosfero::Application.configure do @@ -23,10 +23,6 @@ Noosfero::Application.configure do
23 # Raise exception on mass assignment protection for Active Record models 23 # Raise exception on mass assignment protection for Active Record models
24 config.active_record.mass_assignment_sanitizer = :strict 24 config.active_record.mass_assignment_sanitizer = :strict
25 25
26 - # Log the query plan for queries taking more than this (works  
27 - # with SQLite, MySQL, and PostgreSQL)  
28 - config.active_record.auto_explain_threshold_in_seconds = 0.5  
29 -  
30 # Do not compress assets 26 # Do not compress assets
31 config.assets.compress = false 27 config.assets.compress = false
32 28
config/environments/production.rb
@@ -63,9 +63,5 @@ Noosfero::Application.configure do @@ -63,9 +63,5 @@ Noosfero::Application.configure do
63 63
64 # Send deprecation notices to registered listeners 64 # Send deprecation notices to registered listeners
65 config.active_support.deprecation = :notify 65 config.active_support.deprecation = :notify
66 -  
67 - # Log the query plan for queries taking more than this (works  
68 - # with SQLite, MySQL, and PostgreSQL)  
69 - # config.active_record.auto_explain_threshold_in_seconds = 0.5  
70 end 66 end
71 67