Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate passing a Class to ActiveSupport::Digest.hash_digest_class #39540

Closed
wants to merge 1 commit into from

Commits on Jun 7, 2020

  1. Passing a Class to ActiveSupport::Digest.hash_digest_class is depre…

    …cated in favour of String.
    
        Before:
    
            ActiveSupport::Digest.hash_digest_class = OpenSSL::Digest::SHA256
    
        After:
    
            ActiveSupport::Digest.hash_digest_class = "SHA256"
    
    Related discussions:
    ruby/openssl#362
    ruby/openssl#304
    rails#39410
    Sibling PR: rails#39504
    vipulnsward committed Jun 7, 2020
    Configuration menu
    Copy the full SHA
    9742bd3 View commit details
    Browse the repository at this point in the history