diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2013-02-19 07:22:37 +0000 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2013-02-19 07:22:37 +0000 |
commit | 9d9b22f47a1928bf2fde3b7b574e3d8d4b1cca92 (patch) | |
tree | e0f584955548315c6282721a4c3b8bafddcac993 /railties/test/application/initializers | |
parent | 012213467667a5d4f56761fbc235a3359d95750a (diff) | |
download | rails-9d9b22f47a1928bf2fde3b7b574e3d8d4b1cca92.tar.gz rails-9d9b22f47a1928bf2fde3b7b574e3d8d4b1cca92.tar.bz2 rails-9d9b22f47a1928bf2fde3b7b574e3d8d4b1cca92.zip |
Revert "Deprecate the `eager_load_paths` configuration"
Because of the possibility of lib being unintentionally eager loaded
it's been agreed that we'll leave autoload paths and eager load paths
separate for Rails 4.0.
This reverts commit 0757b3388ffe4f44b60de950d40e18ef05055931.
Conflicts:
railties/CHANGELOG.md
Diffstat (limited to 'railties/test/application/initializers')
-rw-r--r-- | railties/test/application/initializers/load_path_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/initializers/load_path_test.rb b/railties/test/application/initializers/load_path_test.rb index 595f58bd91..31811e7f92 100644 --- a/railties/test/application/initializers/load_path_test.rb +++ b/railties/test/application/initializers/load_path_test.rb @@ -64,7 +64,7 @@ module ApplicationTests add_to_config <<-RUBY config.root = "#{app_path}" - config.autoload_paths << "#{app_path}/lib" + config.eager_load_paths << "#{app_path}/lib" RUBY require "#{app_path}/config/environment" |