aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/rails.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2017-07-02 14:35:13 -0700
committerGitHub <noreply@github.com>2017-07-02 14:35:13 -0700
commit111736ddf6fe81f3e42af37dfa1b0520a8c91473 (patch)
tree050eea5a719faa416b64b804617f8755b6500e09 /activesupport/lib/active_support/rails.rb
parentf443460670576cd82a806a851b7124479e8325c9 (diff)
parent92c29d82eb2f323bb1338a039229a66057a7d137 (diff)
downloadrails-111736ddf6fe81f3e42af37dfa1b0520a8c91473.tar.gz
rails-111736ddf6fe81f3e42af37dfa1b0520a8c91473.tar.bz2
rails-111736ddf6fe81f3e42af37dfa1b0520a8c91473.zip
Merge pull request #29638 from amatsuda/require_relative_2017
Using require_relative in the Rails codebase
Diffstat (limited to 'activesupport/lib/active_support/rails.rb')
-rw-r--r--activesupport/lib/active_support/rails.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/activesupport/lib/active_support/rails.rb b/activesupport/lib/active_support/rails.rb
index f6b018f0d3..656af6dee9 100644
--- a/activesupport/lib/active_support/rails.rb
+++ b/activesupport/lib/active_support/rails.rb
@@ -9,25 +9,25 @@
# Rails and can change anytime.
# Defines Object#blank? and Object#present?.
-require "active_support/core_ext/object/blank"
+require_relative "core_ext/object/blank"
# Rails own autoload, eager_load, etc.
-require "active_support/dependencies/autoload"
+require_relative "dependencies/autoload"
# Support for ClassMethods and the included macro.
-require "active_support/concern"
+require_relative "concern"
# Defines Class#class_attribute.
-require "active_support/core_ext/class/attribute"
+require_relative "core_ext/class/attribute"
# Defines Module#delegate.
-require "active_support/core_ext/module/delegation"
+require_relative "core_ext/module/delegation"
# Defines ActiveSupport::Deprecation.
-require "active_support/deprecation"
+require_relative "deprecation"
# Defines Regexp#match?.
#
# This should be removed when Rails needs Ruby 2.4 or later, and the require
# added where other Regexp extensions are being used (easy to grep).
-require "active_support/core_ext/regexp"
+require_relative "core_ext/regexp"