aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-12-15 18:48:10 +0100
committerJosé Valim <jose.valim@gmail.com>2011-12-15 18:48:10 +0100
commit283a08763495a6b3ce0b196259ee1666f2b08cf1 (patch)
treeefd3899d1a822658a7c5c835d6198ea506a71148 /railties/lib
parentde947c621d8ee18caca574451c722a6e30c4e6d6 (diff)
downloadrails-283a08763495a6b3ce0b196259ee1666f2b08cf1.tar.gz
rails-283a08763495a6b3ce0b196259ee1666f2b08cf1.tar.bz2
rails-283a08763495a6b3ce0b196259ee1666f2b08cf1.zip
Clean up the cache before the request in case we are running in the reload_classes_only_on_change schema.
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/application/finisher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/application/finisher.rb b/railties/lib/rails/application/finisher.rb
index 2ce2980b97..b9944bed26 100644
--- a/railties/lib/rails/application/finisher.rb
+++ b/railties/lib/rails/application/finisher.rb
@@ -71,7 +71,7 @@ module Rails
# Set app reload just after the finisher hook to ensure
# paths added in the hook are still loaded.
- initializer :set_dependencies_hook, :group => :all do
+ initializer :set_clear_dependencies_hook, :group => :all do
callback = lambda do
ActiveSupport::DescendantsTracker.clear
ActiveSupport::Dependencies.clear