提交 692ca945 编写于 作者: G Godfrey Chan

Mention log_level deprecation in upgrade guides [ci skip]

上级 6da69db9
......@@ -145,6 +145,18 @@ assigning `nil` to a serialized attribute will save it to the database
as `NULL` instead of passing the `nil` value through the coder (e.g. `"null"`
when using the `JSON` coder).
### Production log level
In Rails 5, the default log level for the production environment will be changed
to `:debug` (from `:info`). To preserve the current default, add the following
line to your `production.rb`:
```ruby
# Set to `:info` to match the current default, or set to `:debug` to opt-into
# the future default.
config.log_level = :info
```
### `after_bundle` in Rails templates
If you have a Rails template that adds all the files in version control, it
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册