Skip to content

Commit

Permalink
Merge pull request #31115 from y-yagi/add_missing_requires
Browse files Browse the repository at this point in the history
Add missing requires
  • Loading branch information
kamipo committed Nov 10, 2017
2 parents 78ae4db + c59ab79 commit 63e1213
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activemodel/lib/active_model/attribute.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require "active_support/core_ext/object/duplicable"

module ActiveModel
class Attribute # :nodoc:
class << self
Expand Down
2 changes: 2 additions & 0 deletions activemodel/test/cases/attribute_set_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# frozen_string_literal: true

require "cases/helper"
require "active_model/attribute_set"
require "active_model/type"

module ActiveModel
class AttributeSetTest < ActiveModel::TestCase
Expand Down

0 comments on commit 63e1213

Please sign in to comment.