aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-06-12 06:39:16 +0900
committerGitHub <noreply@github.com>2018-06-12 06:39:16 +0900
commite2a3df16a1def120f30ace4fb3840de60fb537b4 (patch)
tree41d404244341f3c33a85fb0f84f83259d037413e
parent5745bea4ef65af8a779ec4168bfa977b7794d85c (diff)
parentd1941fe6dacc3fb725cf4ae544cb7f6d656df62a (diff)
downloadrails-e2a3df16a1def120f30ace4fb3840de60fb537b4.tar.gz
rails-e2a3df16a1def120f30ace4fb3840de60fb537b4.tar.bz2
rails-e2a3df16a1def120f30ace4fb3840de60fb537b4.zip
Merge pull request #33120 from bogdanvlviv/fix-active_model-errors-docs
Fix active_model/errors docs [ci skip]
-rw-r--r--activemodel/lib/active_model/errors.rb2
-rw-r--r--guides/source/configuring.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/errors.rb b/activemodel/lib/active_model/errors.rb
index d583d48b54..56404a036c 100644
--- a/activemodel/lib/active_model/errors.rb
+++ b/activemodel/lib/active_model/errors.rb
@@ -370,7 +370,7 @@ module ActiveModel
#
# person.errors.full_message(:name, 'is invalid') # => "Name is invalid"
#
- # The `"%{attribute} %{message}"` error format can be overridden with either
+ # The `"%{attribute} %{message}"` error format can be overridden with either
#
# * <tt>activemodel.errors.models.person/contacts/addresses.attributes.street.format</tt>
# * <tt>activemodel.errors.models.person/contacts/addresses.format</tt>
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 4c2dea6721..50b506bc6e 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -307,7 +307,7 @@ All these configuration options are delegated to the `I18n` library.
### Configuring Active Model
-* `config.active_model.i18n_full_message` is a boolean value which controls whether the `full_message` error format can be overridden at the attribute or model level in the locale files
+* `config.active_model.i18n_full_message` is a boolean value which controls whether the `full_message` error format can be overridden at the attribute or model level in the locale files.
### Configuring Active Record