提交 45c91e79 编写于 作者: C Claudio B.

Merge pull request #21054 from yui-knk/fix/doc_field_error_proc

[ci skip] `field_error_proc` is used in `ActionView::Helpers::ActiveM…
......@@ -414,7 +414,7 @@ encrypted cookies salt value. Defaults to `'signed encrypted cookie'`.
`config.action_view` includes a small number of configuration settings:
* `config.action_view.field_error_proc` provides an HTML generator for displaying errors that come from Active Record. The default is
* `config.action_view.field_error_proc` provides an HTML generator for displaying errors that come from Active Model. The default is
```ruby
Proc.new do |html_tag, instance|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册