Commit 47b2e79b3385a58ed0dbf240504e6494dc16cfc8
1 parent
62987843
Exists in
master
and in
11 other branches
rails4.1: remove configuration not supported
Showing
2 changed files
with
0 additions
and
8 deletions
Show diff stats
config/environments/development.rb
... | ... | @@ -23,10 +23,6 @@ Noosfero::Application.configure do |
23 | 23 | # Raise exception on mass assignment protection for Active Record models |
24 | 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 | 26 | # Do not compress assets |
31 | 27 | config.assets.compress = false |
32 | 28 | ... | ... |
config/environments/production.rb
... | ... | @@ -63,9 +63,5 @@ Noosfero::Application.configure do |
63 | 63 | |
64 | 64 | # Send deprecation notices to registered listeners |
65 | 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 | 66 | end |
71 | 67 | ... | ... |