aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/rails.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/rails.rb')
-rw-r--r--activesupport/lib/active_support/rails.rb30
1 files changed, 30 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/rails.rb b/activesupport/lib/active_support/rails.rb
new file mode 100644
index 0000000000..933c6e6136
--- /dev/null
+++ b/activesupport/lib/active_support/rails.rb
@@ -0,0 +1,30 @@
+# This is private interface.
+#
+# Rails components cherry pick from Active Support as needed, but there are a
+# few features that are used for sure some way or another and it is not worth
+# to put individual requires absolutely everywhere. Think blank? for example.
+#
+# This file is loaded by every Rails component except Active Support itself,
+# but it does not belong to the Rails public interface. It is internal to
+# Rails and can change anytime.
+
+# Defines Object#blank? and Object#present?.
+require 'active_support/core_ext/object/blank'
+
+# Defines Object#in?.
+require 'active_support/core_ext/object/inclusion'
+
+# Rails own autoload, eager_load, etc.
+require 'active_support/dependencies/autoload'
+
+# Support for ClassMethods and the included macro.
+require 'active_support/concern'
+
+# Defines Class#class_attribute.
+require 'active_support/core_ext/class/attribute'
+
+# Defines Module#delegate.
+require 'active_support/core_ext/module/delegation'
+
+# Defines ActiveSupport::Deprecation.
+require 'active_support/deprecation'