diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-24 18:48:00 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-24 18:48:00 -0800 |
commit | 36dcfcf126b7e7ba33ebe0d7148c9023e7494464 (patch) | |
tree | 3968994242766ebd449bc7ffc8cd5e43c2ca020d /railties | |
parent | a5870d43e3aac4ae02a650d0112b305c6a3d9114 (diff) | |
download | rails-36dcfcf126b7e7ba33ebe0d7148c9023e7494464.tar.gz rails-36dcfcf126b7e7ba33ebe0d7148c9023e7494464.tar.bz2 rails-36dcfcf126b7e7ba33ebe0d7148c9023e7494464.zip |
Really remove components.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/Rakefile | 1 | ||||
-rw-r--r-- | railties/lib/initializer.rb | 6 | ||||
-rw-r--r-- | railties/lib/tasks/statistics.rake | 1 |
3 files changed, 1 insertions, 7 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index cbfa14e887..bf70219aa8 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -45,7 +45,6 @@ BASE_DIRS = %w( config/environments config/initializers config/locales - components db doc log 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) |