diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2010-12-20 11:32:37 +1000 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2010-12-21 10:40:14 +1000 |
commit | 8373c735c7dc8adeffffbf85176676fecb6221fc (patch) | |
tree | 4887aab12d61575b576967f7493e719de243261e | |
parent | 6e14feb978434802e7a46b26d99d64e31f545fe2 (diff) | |
download | rails-8373c735c7dc8adeffffbf85176676fecb6221fc.tar.gz rails-8373c735c7dc8adeffffbf85176676fecb6221fc.tar.bz2 rails-8373c735c7dc8adeffffbf85176676fecb6221fc.zip |
config guide: mention ActiveSupport::Deprecation configuration options.
-rw-r--r-- | railties/guides/source/configuring.textile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile index 497c8318f0..fa86e0f039 100644 --- a/railties/guides/source/configuring.textile +++ b/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: |