Permalink
Browse files

Started work on a per-request query cache

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent cce294f commit dda5070e70f6251b0ab61ee43f8561abe2f5b6b9 @dhh dhh committed May 2, 2005
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/dispatcher.rb
@@ -51,6 +51,7 @@ def reset_application
Dependencies.remove_subclasses_for(ActiveRecord::Base, ActiveRecord::Observer, ActionController::Base)
end
+ ActiveRecord::Base.connection.clear_query_cache
Breakpoint.deactivate_drb if defined?(BREAKPOINT_SERVER_PORT)
end
end

0 comments on commit dda5070

Please sign in to comment.