提交 11cde2bd 编写于 作者: C Carlos Antonio da Silva

Delegate clear_active_connections to handler as well

上级 2f632f53
......@@ -90,11 +90,7 @@ def remove_connection(klass = self)
connection_handler.remove_connection(klass)
end
def clear_active_connections!
connection_handler.clear_active_connections!
end
delegate :clear_reloadable_connections!,
:clear_all_connections!,:verify_active_connections!, :to => :connection_handler
delegate :clear_active_connections!, :clear_reloadable_connections!,
:clear_all_connections!, :verify_active_connections!, :to => :connection_handler
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册