Browse files

config guide: mention ActiveSupport::Deprecation configuration options.

  • Loading branch information...
1 parent 6e14feb commit 8373c735c7dc8adeffffbf85176676fecb6221fc @radar radar committed Dec 20, 2010
Showing with 7 additions and 0 deletions.
  1. +7 −0 railties/guides/source/configuring.textile
@@ -376,8 +376,15 @@ There are a few configuration options available in Active Support:
* +ActiveSupport::Cache::Store.logger+ specifies the logger to use within cache store operations.
+* +ActiveSupport::Deprecation.behavior+ alternative setter to +config.active_support.deprecation+ which configures the behavior of deprecation warnings for Rails.
+* +ActiveSupport::Deprecation.silence+ takes a block in which all deprecation warnings are silenced.
+* +ActiveSupport::Deprecation.silenced+ sets whether or not to display deprecation warnings.
* +ActiveSupport::Logger.silencer+ is set to +false+ to disable the ability to silence logging in a block. The default is +true+.
h3. Rails Environment Settings
Some parts of Rails can also be configured externally by supplying environment variables. The following environment variables are recognized by various parts of Rails:

0 comments on commit 8373c73

Please sign in to comment.