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:
commit
5e56d2bcab
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require "digest"
|
||||
require "digest/sha2"
|
||||
|
||||
module ActiveSupport
|
||||
module SecurityUtils
|
||||
|
|
Loading…
Reference in a new issue