Sha256: 9dc2f4fe9cb8d8287d3a68d626c2aef32c705a91c7c20b4757efad1ff78e81fe
Contents?: true
Size: 299 Bytes
Versions: 2
Compression:
Stored size: 299 Bytes
Contents
module FreshConnection module Extend module ArAbstractAdapter def self.prepended(base) base.send :attr_writer, :replica_group end def log(*args) args[1] = "[#{@replica_group}] #{args[1]}" if defined?(@replica_group) super end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fresh_connection-2.3.1 | lib/fresh_connection/extend/ar_abstract_adapter.rb |
fresh_connection-2.3.0 | lib/fresh_connection/extend/ar_abstract_adapter.rb |