From d1941fe6dacc3fb725cf4ae544cb7f6d656df62a Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Tue, 12 Jun 2018 00:24:49 +0300 Subject: Fix active_model/errors docs [ci skip] - Fix indentation. - Add a missing dot to the end of the sentence. Related to #32956 --- activemodel/lib/active_model/errors.rb | 2 +- guides/source/configuring.md | 2 +- 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 # # * activemodel.errors.models.person/contacts/addresses.attributes.street.format # * activemodel.errors.models.person/contacts/addresses.format 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 -- cgit v1.2.3