Add missing period
This commit is contained in:
parent
93e154ac2c
commit
56f63552f1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue