Closed tarebyte closed 7 months ago
https://github.com/chaynHQ/soulmedicine/issues/391
This updates the digest class for ActiveSupport::Digest to use OpenSSL::Digest::SHA256. This digest is used for things like ETags and ActiveRecord query caching.
ActiveSupport::Digest
OpenSSL::Digest::SHA256
This is the new standard recommendation from Rails. See https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#digest-class-for-activesupport-digest-changing-to-sha256
Issue ticket link / number:
https://github.com/chaynHQ/soulmedicine/issues/391
What changes did you make?
This updates the digest class for
ActiveSupport::Digest
to useOpenSSL::Digest::SHA256
. This digest is used for things like ETags and ActiveRecord query caching.Why did you make the changes?
This is the new standard recommendation from Rails. See https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#digest-class-for-activesupport-digest-changing-to-sha256