mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] field_error_proc
is used in ActionView::Helpers::ActiveModelInstanceTag
so replace `Active Record` with `Active Model`
This commit is contained in:
parent
90e893d447
commit
978cca8b13
1 changed files with 1 additions and 1 deletions
|
@ -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` 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
|
```ruby
|
||||||
Proc.new do |html_tag, instance|
|
Proc.new do |html_tag, instance|
|
||||||
|
|
Loading…
Reference in a new issue