diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-05-02 07:04:59 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-05-02 07:04:59 +0000 |
commit | dda5070e70f6251b0ab61ee43f8561abe2f5b6b9 (patch) | |
tree | 9ffd80384e88de0fd3cd054bdf0ff9e2cd08a5c6 | |
parent | cce294fd7118f4ae47d130ba85dfae4dc816b3e9 (diff) | |
download | rails-dda5070e70f6251b0ab61ee43f8561abe2f5b6b9.tar.gz rails-dda5070e70f6251b0ab61ee43f8561abe2f5b6b9.tar.bz2 rails-dda5070e70f6251b0ab61ee43f8561abe2f5b6b9.zip |
Started work on a per-request query cache
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | railties/lib/dispatcher.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/dispatcher.rb b/railties/lib/dispatcher.rb index 140d8e84a3..2a0765a932 100644 --- a/railties/lib/dispatcher.rb +++ b/railties/lib/dispatcher.rb @@ -51,6 +51,7 @@ class Dispatcher 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 |