Permalink
Browse files

New adventures in dependency reloading

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@430 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent ee014ef commit 954fd97d002585926b9c9f24a841d6a11d66ab25 @dhh dhh committed Jan 16, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/dispatcher.rb
@@ -50,7 +50,7 @@ def dispatch(cgi = CGI.new, session_options = ActionController::CgiRequest::DEFA
def reset_application(controller_name)
ActiveRecord::Base.reset_column_information_and_inheritable_attributes_for_all_subclasses
Dependencies.clear
- remove_class_hierarchy(controller_class(controller_name), ApplicationController)
+ remove_class_hierarchy(controller_class(controller_name), ActionController::Base)
end
def controller_path(controller_name, module_name = nil)

0 comments on commit 954fd97

Please sign in to comment.