aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-01-13 13:09:31 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-01-13 13:09:31 +0900
commit1a4eb55a827a8641c19e03219d881f4aaba9748b (patch)
tree15c9c2c9d5636d45300fe778ee0d5ec539e0d3fe /activemodel/lib
parentf8afb5168aed810a061d081d3941c9dc9bd633c3 (diff)
downloadrails-1a4eb55a827a8641c19e03219d881f4aaba9748b.tar.gz
rails-1a4eb55a827a8641c19e03219d881f4aaba9748b.tar.bz2
rails-1a4eb55a827a8641c19e03219d881f4aaba9748b.zip
`deep_dup` is used in `AttributeSet#deep_dup`
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/attribute_set.rb1
-rw-r--r--activemodel/lib/active_model/attributes.rb1
2 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/attribute_set.rb b/activemodel/lib/active_model/attribute_set.rb
index 54a5dd4064..a890ee3932 100644
--- a/activemodel/lib/active_model/attribute_set.rb
+++ b/activemodel/lib/active_model/attribute_set.rb
@@ -1,5 +1,6 @@
# frozen_string_literal: true
+require "active_support/core_ext/object/deep_dup"
require "active_model/attribute_set/builder"
require "active_model/attribute_set/yaml_encoder"
diff --git a/activemodel/lib/active_model/attributes.rb b/activemodel/lib/active_model/attributes.rb
index cac461b549..28dd24b3cd 100644
--- a/activemodel/lib/active_model/attributes.rb
+++ b/activemodel/lib/active_model/attributes.rb
@@ -1,6 +1,5 @@
# frozen_string_literal: true
-require "active_support/core_ext/object/deep_dup"
require "active_model/attribute_set"
require "active_model/attribute/user_provided_default"