From 56f63552f12725cad2b1fde6c679694fe40f6fd6 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sun, 24 Nov 2019 10:28:48 +0900 Subject: [PATCH] Add missing period --- activemodel/lib/active_model/errors.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemodel/lib/active_model/errors.rb b/activemodel/lib/active_model/errors.rb index a2bb8f9977..b219914aee 100644 --- a/activemodel/lib/active_model/errors.rb +++ b/activemodel/lib/active_model/errors.rb @@ -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