aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-08-02 18:07:20 +0200
committerXavier Noria <fxn@hashref.com>2012-08-02 21:59:22 +0200
commit1a7b2e8fadc34a70ad891b3b111a06e384fd3c6d (patch)
tree6631dcdaf05187635883cb78b4b1b1d5f273699e /activesupport
parent7a7ec74c1c32667e93f4bcd11d227d6134b0fa59 (diff)
downloadrails-1a7b2e8fadc34a70ad891b3b111a06e384fd3c6d.tar.gz
rails-1a7b2e8fadc34a70ad891b3b111a06e384fd3c6d.tar.bz2
rails-1a7b2e8fadc34a70ad891b3b111a06e384fd3c6d.zip
defines a private require-hub active_support/rails
This is a private place to put those AS features that are used by every component. Nowadays we cherry-pick individual files wherever they are used, but that it is not worth the effort for stuff that is going to be loaded for sure sooner or later, like blank?, autoload, concern, etc.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/rails.rb9
1 files changed, 9 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..500ce30da6
--- /dev/null
+++ b/activesupport/lib/active_support/rails.rb
@@ -0,0 +1,9 @@
+# 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.