aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-05-01 04:51:05 +0900
committerGitHub <noreply@github.com>2019-05-01 04:51:05 +0900
commit681b0c1f2a2a51becad928ff157d59082ce5c1bd (patch)
tree2a11b20476914a0c6688670e5addafddefeb95ab
parent7575242e833fbee7be72fb9cce6259c027dbabb2 (diff)
parentc3828a1024853c7b4faf664ec63670781e5a4987 (diff)
downloadrails-681b0c1f2a2a51becad928ff157d59082ce5c1bd.tar.gz
rails-681b0c1f2a2a51becad928ff157d59082ce5c1bd.tar.bz2
rails-681b0c1f2a2a51becad928ff157d59082ce5c1bd.zip
Merge pull request #36146 from carlesjove/remove_outdated_gem_from_guides
[Guides] Remove dynamic_form gem reference in guides [ci skip]
-rw-r--r--guides/source/i18n.md21
1 files changed, 0 insertions, 21 deletions
diff --git a/guides/source/i18n.md b/guides/source/i18n.md
index d6fccadb28..5d91a6df33 100644
--- a/guides/source/i18n.md
+++ b/guides/source/i18n.md
@@ -992,27 +992,6 @@ So, for example, instead of the default error message `"cannot be blank"` you co
| numericality | :odd | :odd | - |
| numericality | :even | :even | - |
-#### Translations for the Active Record `error_messages_for` Helper
-
-If you are using the Active Record `error_messages_for` helper, you will want to add
-translations for it.
-
-Rails ships with the following translations:
-
-```yaml
-en:
- activerecord:
- errors:
- template:
- header:
- one: "1 error prohibited this %{model} from being saved"
- other: "%{count} errors prohibited this %{model} from being saved"
- body: "There were problems with the following fields:"
-```
-
-NOTE: In order to use this helper, you need to install [DynamicForm](https://github.com/joelmoss/dynamic_form)
-gem by adding this line to your `Gemfile`: `gem 'dynamic_form'`.
-
### Translations for Action Mailer E-Mail Subjects
If you don't pass a subject to the `mail` method, Action Mailer will try to find