aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-11-24 18:48:00 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2008-11-24 18:48:00 -0800
commit36dcfcf126b7e7ba33ebe0d7148c9023e7494464 (patch)
tree3968994242766ebd449bc7ffc8cd5e43c2ca020d /railties/lib
parenta5870d43e3aac4ae02a650d0112b305c6a3d9114 (diff)
downloadrails-36dcfcf126b7e7ba33ebe0d7148c9023e7494464.tar.gz
rails-36dcfcf126b7e7ba33ebe0d7148c9023e7494464.tar.bz2
rails-36dcfcf126b7e7ba33ebe0d7148c9023e7494464.zip
Really remove components.
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/initializer.rb6
-rw-r--r--railties/lib/tasks/statistics.rake1
2 files changed, 1 insertions, 6 deletions
diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb
index 0f74f9ff88..038288dc88 100644
--- a/railties/lib/initializer.rb
+++ b/railties/lib/initializer.rb
@@ -624,7 +624,7 @@ Run `rake gems:install` to install the missing gems.
attr_accessor :cache_classes
# The list of paths that should be searched for controllers. (Defaults
- # to <tt>app/controllers</tt> and <tt>components</tt>.)
+ # to <tt>app/controllers</tt>.)
attr_accessor :controller_paths
# The path to the database configuration file to use. (Defaults to
@@ -912,9 +912,6 @@ Run `rake gems:install` to install the missing gems.
# Add the app's controller directory
paths.concat(Dir["#{root_path}/app/controllers/"])
- # Then components subdirectories.
- paths.concat(Dir["#{root_path}/components/[_a-z]*"])
-
# Followed by the standard includes.
paths.concat %w(
app
@@ -922,7 +919,6 @@ Run `rake gems:install` to install the missing gems.
app/controllers
app/helpers
app/services
- components
config
lib
vendor
diff --git a/railties/lib/tasks/statistics.rake b/railties/lib/tasks/statistics.rake
index dbd0773194..5ab27a0f62 100644
--- a/railties/lib/tasks/statistics.rake
+++ b/railties/lib/tasks/statistics.rake
@@ -4,7 +4,6 @@ STATS_DIRECTORIES = [
%w(Models app/models),
%w(Libraries lib/),
%w(APIs app/apis),
- %w(Components components),
%w(Integration\ tests test/integration),
%w(Functional\ tests test/functional),
%w(Unit\ tests test/unit)