##// END OF EJS Templates
prevent "config.log_level" DEPRECATION WARNING...
Toshi MARUYAMA -
r13517:3a1e7106f4c8
parent child
Show More
@@ -1,25 +1,27
1 Rails.application.configure do
1 Rails.application.configure do
2 # Settings specified here will take precedence over those in config/application.rb
2 # Settings specified here will take precedence over those in config/application.rb
3
3
4 config.log_level = :info
5
4 # Code is not reloaded between requests.
6 # Code is not reloaded between requests.
5 config.cache_classes = true
7 config.cache_classes = true
6
8
7 # Eager load code on boot. This eager loads most of Rails and
9 # Eager load code on boot. This eager loads most of Rails and
8 # your application in memory, allowing both threaded web servers
10 # your application in memory, allowing both threaded web servers
9 # and those relying on copy on write to perform better.
11 # and those relying on copy on write to perform better.
10 # Rake tasks automatically ignore this option for performance.
12 # Rake tasks automatically ignore this option for performance.
11 config.eager_load = true
13 config.eager_load = true
12
14
13 # Full error reports are disabled and caching is turned on.
15 # Full error reports are disabled and caching is turned on.
14 config.consider_all_requests_local = false
16 config.consider_all_requests_local = false
15 config.action_controller.perform_caching = true
17 config.action_controller.perform_caching = true
16
18
17 # Disable delivery errors
19 # Disable delivery errors
18 config.action_mailer.raise_delivery_errors = false
20 config.action_mailer.raise_delivery_errors = false
19
21
20 # No email in production log
22 # No email in production log
21 config.action_mailer.logger = nil
23 config.action_mailer.logger = nil
22
24
23 # Print deprecation notices to the Rails logger.
25 # Print deprecation notices to the Rails logger.
24 config.active_support.deprecation = :log
26 config.active_support.deprecation = :log
25 end
27 end
General Comments 0
You need to be logged in to leave comments. Login now