Sha256: 5273184bcc74d15e7bd7346321ee13c7a1f7d5d923f036d3dbff5b1b07c5f125

Contents?: true

Size: 278 Bytes

Versions: 5

Compression:

Stored size: 278 Bytes

Contents

module ActiveRecord::Turntable
  class Mixer
    class Fader
      class SpecifiedShard < Fader
        def execute
          shard, query = @shards_query_hash.first
          shard.connection.send(@called_method, query, *@args, &@block)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-turntable-1.1.2 lib/active_record/turntable/mixer/fader/specified_shard.rb
activerecord-turntable-1.1.1 lib/active_record/turntable/mixer/fader/specified_shard.rb
activerecord-turntable-1.1.0 lib/active_record/turntable/mixer/fader/specified_shard.rb
activerecord-turntable-1.0.1 lib/active_record/turntable/mixer/fader/specified_shard.rb
activerecord-turntable-1.0.0 lib/active_record/turntable/mixer/fader/specified_shard.rb