You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: connection_proxy.rb
    path of file: ./repos/activerecord-turntable/lib/active_record/turntable
    
    the code of the file until where you have to start completion: require "active_record/turntable/connection_proxy/mixable"

module ActiveRecord::Turntable
  class ConnectionProxy
    include Mixable

    # for expiri
    
    def with_recursive_shards(connection_name, *klasses, &block)
      with_shard(cluster.shard_registry[connection_name]) do
        if klasses.blank?
          yield
        else
          current_klass = klasses.shift
          current_klass.connection.with_recursive_shards(connection_name, *klasses, &block)
        end
      end