Permalink
Browse files

Flipped reloads around

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 9959882 commit 01ead94d0b11b00fb8726a868f5538c7a5a1af35 @dhh dhh committed Jan 20, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/dispatcher.rb
View
2 railties/lib/dispatcher.rb
@@ -49,9 +49,9 @@ def dispatch(cgi = CGI.new, session_options = ActionController::CgiRequest::DEFA
private
def reset_application(controller_name)
begin
+ remove_class_hierarchy(controller_class(controller_name), ActionController::Base)
ActiveRecord::Base.reset_column_information_and_inheritable_attributes_for_all_subclasses
Dependencies.clear
- remove_class_hierarchy(controller_class(controller_name), ActionController::Base)
rescue Object => exception
# Compilation errors are caught on the first run through
end

0 comments on commit 01ead94

Please sign in to comment.