diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-21 22:31:19 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-21 22:31:19 +0000 |
commit | 6dd10d85dab9d2623deb3dc4a61106ca9be1d981 (patch) | |
tree | 7180753dbf40f804418b983f542d66b3fb3c5e1b /railties/environments | |
parent | 83c17f208933bb895faf9a18194f8a407c194f05 (diff) | |
download | rails-6dd10d85dab9d2623deb3dc4a61106ca9be1d981.tar.gz rails-6dd10d85dab9d2623deb3dc4a61106ca9be1d981.tar.bz2 rails-6dd10d85dab9d2623deb3dc4a61106ca9be1d981.zip |
Added the :all option to config.plugins thatll include the rest of the plugins not already explicitly named (closes #9613) [fcheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments')
-rw-r--r-- | railties/environments/environment.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb index c34a07e024..8a956d7cfa 100644 --- a/railties/environments/environment.rb +++ b/railties/environments/environment.rb @@ -16,8 +16,9 @@ Rails::Initializer.run do |config| # Skip frameworks you're not going to use (only works if using vendor/rails) # config.frameworks -= [ :active_resource, :action_mailer ] - # Only load the plugins named here, by default all plugins in vendor/plugins are loaded - # config.plugins = %W( exception_notification ssl_requirement ) + # Only load the plugins named here, in the order given. By default all plugins in vendor/plugins are loaded, in alphabetical order + # :all can be used as a placeholder for all plugins not explicitly named. + # config.plugins = [ :exception_notification, :ssl_requirement, :all ] # Add additional load paths for your own custom dirs # config.load_paths += %W( #{RAILS_ROOT}/extras ) |