diff options
author | Matthew Draper <matthew@trebex.net> | 2017-09-26 04:26:59 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-26 04:26:59 +0930 |
commit | 5e56d2bcabf9ddbac43e3bda3ed6190db640bafd (patch) | |
tree | c04096052fa7a55d7e00865915b94678ef6c0e20 /activerecord/lib | |
parent | 6e61af131d17d3d076a0b000d0d67d6846efc094 (diff) | |
parent | ff56fdb08d643b8d9892763c4b9731e0391260fd (diff) | |
download | rails-5e56d2bcabf9ddbac43e3bda3ed6190db640bafd.tar.gz rails-5e56d2bcabf9ddbac43e3bda3ed6190db640bafd.tar.bz2 rails-5e56d2bcabf9ddbac43e3bda3ed6190db640bafd.zip |
Merge pull request #30705 from frodsan/use-digest-thread-safe
Preload digest/sha2 to avoid thread safe error.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index c9607df28c..4f0c1890be 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -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: |