提交 8373c735 编写于 作者: R Ryan Bigg

config guide: mention ActiveSupport::Deprecation configuration options.

上级 6e14feb9
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册