aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/configuring.textile
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2010-12-20 11:32:37 +1000
committerRyan Bigg <radarlistener@gmail.com>2010-12-21 10:40:14 +1000
commit8373c735c7dc8adeffffbf85176676fecb6221fc (patch)
tree4887aab12d61575b576967f7493e719de243261e /railties/guides/source/configuring.textile
parent6e14feb978434802e7a46b26d99d64e31f545fe2 (diff)
downloadrails-8373c735c7dc8adeffffbf85176676fecb6221fc.tar.gz
rails-8373c735c7dc8adeffffbf85176676fecb6221fc.tar.bz2
rails-8373c735c7dc8adeffffbf85176676fecb6221fc.zip
config guide: mention ActiveSupport::Deprecation configuration options.
Diffstat (limited to 'railties/guides/source/configuring.textile')
-rw-r--r--railties/guides/source/configuring.textile7
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: