1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #30705 from frodsan/use-digest-thread-safe

Preload digest/sha2 to avoid thread safe error.
This commit is contained in:
Matthew Draper 2017-09-26 04:26:59 +09:30 committed by GitHub
commit 5e56d2bcab
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
require_relative "../../migration/join_table"
require "active_support/core_ext/string/access"
require "digest"
require "digest/sha2"
module ActiveRecord
module ConnectionAdapters # :nodoc:

View file

@ -1,6 +1,6 @@
# frozen_string_literal: true
require "digest"
require "digest/sha2"
module ActiveSupport
module SecurityUtils