aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2013-01-24 23:51:31 +0000
committerAndrew White <andyw@pixeltrix.co.uk>2013-01-24 23:54:41 +0000
commit0757b3388ffe4f44b60de950d40e18ef05055931 (patch)
tree8b5f292821e46fd5811837d79fde818bb5e1c022 /railties/CHANGELOG.md
parentccaeb6b6671609aa07d386bbe24d44a996f40e1e (diff)
downloadrails-0757b3388ffe4f44b60de950d40e18ef05055931.tar.gz
rails-0757b3388ffe4f44b60de950d40e18ef05055931.tar.bz2
rails-0757b3388ffe4f44b60de950d40e18ef05055931.zip
Deprecate the `eager_load_paths` configuration
Since the default in Rails 4.0 is to run in 'threadsafe' mode we need to eager load all of the paths in `autoload_paths` so we alias `eager_load_paths` to it. This may have unintended consequences if you have added 'lib' to `autoload_paths` such as loading unneeded code or code intended only for development and/or test environments. If this applies to your application you should thoroughly check what is being eager loaded.
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r--railties/CHANGELOG.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index 3b0f282143..ab30962aad 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1,5 +1,14 @@
## Rails 4.0.0 (unreleased) ##
+* Deprecate the `eager_load_paths` configuration and alias it to `autoload_paths`.
+ Since the default in Rails 4.0 is to run in 'threadsafe' mode we need to eager
+ load all of the paths in `autoload_paths`. This may have unintended consequences
+ if you have added 'lib' to `autoload_paths` such as loading unneeded code or
+ code intended only for development and/or test environments. If this applies to
+ your application you should thoroughly check what is being eager loaded.
+
+ *Andrew White*
+
* Restore Rails::Engine::Railties#engines with deprecation to ensure
compatibility with gems such as Thinking Sphinx
Fix #8551