Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/branches/2-1-caching/railties/environments/production.rb

Revision 8120, 0.7 kB (checked in by david, 1 year ago)

Kill the whiny_protected_attributes setting and kill the exception raised. Instead, just log the mass-assignment misalignment as a debug warning (closes #9966)

Line 
1 # Settings specified here will take precedence over those in config/environment.rb
2
3 # The production environment is meant for finished, "live" apps.
4 # Code is not reloaded between requests
5 config.cache_classes = true
6
7 # Use a different logger for distributed setups
8 # config.logger = SyslogLogger.new
9
10 # Full error reports are disabled and caching is turned on
11 config.action_controller.consider_all_requests_local = false
12 config.action_controller.perform_caching             = true
13
14 # Enable serving of images, stylesheets, and javascripts from an asset server
15 # config.action_controller.asset_host                  = "http://assets.example.com"
16
17 # Disable delivery errors, bad email addresses will be ignored
18 # config.action_mailer.raise_delivery_errors = false
Note: See TracBrowser for help on using the browser.