Sha256: 1aebb04fadb0a7f74b8becfab4b038e1cb9f690bf7a6a7a01c4495056bdfc65c

Contents?: true

Size: 276 Bytes

Versions: 1

Compression:

Stored size: 276 Bytes

Contents

require 'active_support/core_ext/module/delegation'
module ConnectionManager
  module Querying
    delegate :using, :to =>  :all
    delegate :slaves, :to =>  :all
    delegate :masters, :to => :all
  end
end
ActiveRecord::Querying.send(:include, ConnectionManager::Querying)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
connection_manager-2.0.0 lib/connection_manager/querying.rb