diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-03-03 08:59:38 +0900 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2018-03-02 16:40:55 -0800 |
commit | acbcec8ea869849f98213fea5e554bb3a82fea61 (patch) | |
tree | 4eda1100b0360ba544d9118c6700a1317df283c0 /activerecord/lib/active_record | |
parent | b1a9cee83082d6c7a58d87d06055c86fcdbc7644 (diff) | |
download | rails-acbcec8ea869849f98213fea5e554bb3a82fea61.tar.gz rails-acbcec8ea869849f98213fea5e554bb3a82fea61.tar.bz2 rails-acbcec8ea869849f98213fea5e554bb3a82fea61.zip |
Deprecate `active_support/core_ext/hash/compact`
Ruby 2.4+ provides `Hash#compact` and `Hash#compact!` natively,
so `active_support/core_ext/hash/compact` is no longer necessary.
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb index 1926603474..622e00fffb 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -require "active_support/core_ext/hash/compact" - module ActiveRecord module ConnectionAdapters # :nodoc: class SchemaDumper < SchemaDumper # :nodoc: |