diff options
Diffstat (limited to 'railties')
-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 |