Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit dda5070e70f6251b0ab61ee43f8561abe2f5b6b9 1 parent cce294f
@dhh dhh authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  railties/lib/dispatcher.rb
View
1  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
Please sign in to comment.
Something went wrong with that request. Please try again.