diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-06-12 00:24:49 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-06-12 00:32:25 +0300 |
commit | d1941fe6dacc3fb725cf4ae544cb7f6d656df62a (patch) | |
tree | 6b33cde8584c8356182acc804a846a96d39e7b9c /activemodel/lib/active_model | |
parent | b05bcb8fef706ef45e2f273040083b1bbd180c6e (diff) | |
download | rails-d1941fe6dacc3fb725cf4ae544cb7f6d656df62a.tar.gz rails-d1941fe6dacc3fb725cf4ae544cb7f6d656df62a.tar.bz2 rails-d1941fe6dacc3fb725cf4ae544cb7f6d656df62a.zip |
Fix active_model/errors docs [ci skip]
- Fix indentation.
- Add a missing dot to the end of the sentence.
Related to #32956
Diffstat (limited to 'activemodel/lib/active_model')
-rw-r--r-- | activemodel/lib/active_model/errors.rb | 2 |
1 files changed, 1 insertions, 1 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> |