aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-08-21 02:15:42 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-08-21 02:15:42 +0900
commit84f5627c5ef3271a27c11253928b5895bf7f7f6b (patch)
tree1398077737653937ce41f0a42d7d0a2fd21f56f6 /activerecord
parent7fd05904dd53c62497a89ed1e50d9bc40eb9d163 (diff)
downloadrails-84f5627c5ef3271a27c11253928b5895bf7f7f6b.tar.gz
rails-84f5627c5ef3271a27c11253928b5895bf7f7f6b.tar.bz2
rails-84f5627c5ef3271a27c11253928b5895bf7f7f6b.zip
Require "active_support/core_ext/hash/compact" for `compact!`
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb2
1 files changed, 2 insertions, 0 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 56df76caf3..f17f1d35e2 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb
@@ -1,5 +1,7 @@
# frozen_string_literal: true
+require "active_support/core_ext/hash/compact"
+
module ActiveRecord
module ConnectionAdapters # :nodoc:
# The goal of this module is to move Adapter specific column