aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/dependencies.rb
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2006-02-26 17:49:09 +0000
committerNicholas Seckar <nseckar@gmail.com>2006-02-26 17:49:09 +0000
commit26eaf073c4de8276663f927fdeeb91453e8b3956 (patch)
tree1690bbb49d971b063e240d155d58c503de938ee5 /activesupport/lib/active_support/dependencies.rb
parentd11f8d551640c94e22c221c3bee39ab572b1dc72 (diff)
downloadrails-26eaf073c4de8276663f927fdeeb91453e8b3956.tar.gz
rails-26eaf073c4de8276663f927fdeeb91453e8b3956.tar.bz2
rails-26eaf073c4de8276663f927fdeeb91453e8b3956.zip
Remove ::Controllers related cruft; fix AP tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/dependencies.rb')
-rw-r--r--activesupport/lib/active_support/dependencies.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/dependencies.rb b/activesupport/lib/active_support/dependencies.rb
index 6d5adb6605..b82c7e56f3 100644
--- a/activesupport/lib/active_support/dependencies.rb
+++ b/activesupport/lib/active_support/dependencies.rb
@@ -98,10 +98,6 @@ class Module #:nodoc:
# Use const_missing to autoload associations so we don't have to
# require_association when using single-table inheritance.
def const_missing(class_id)
- if Object.const_defined?(:Controllers) && Object::Controllers.const_available?(class_id)
- return Object::Controllers.const_get(class_id)
- end
-
file_name = class_id.to_s.demodulize.underscore
file_path = as_load_path.empty? ? file_name : "#{as_load_path}/#{file_name}"
begin