Add missing period

This commit is contained in:
Ryuta Kamizono 2019-11-24 10:28:48 +09:00
parent 93e154ac2c
commit 56f63552f1
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ module ActiveModel
def to_h
ActiveSupport::Deprecation.warn(<<~EOM)
ActiveModel::Errors#to_h is deprecated and will be removed in Rails 6.2
ActiveModel::Errors#to_h is deprecated and will be removed in Rails 6.2.
Please use `ActiveModel::Errors.to_hash` instead. The values in the hash
returned by `ActiveModel::Errors.to_hash` is an array of error messages.
EOM