Module: ActiveRecordShards::DefaultReplicaPatches::InstanceMethods

Defined in:
lib/active_record_shards/default_replica_patches.rb

Instance Method Summary collapse

Instance Method Details

#on_replica_unless_txObject



33
34
35
# File 'lib/active_record_shards/default_replica_patches.rb', line 33

def on_replica_unless_tx
  self.class.on_replica_unless_tx { yield }
end