Module: ActiveRecordShards::DefaultReplicaPatches::InstanceMethods
- Defined in:
- lib/active_record_shards/default_replica_patches.rb
Instance Method Summary collapse
Instance Method Details
#on_replica_unless_tx ⇒ Object
| 48 49 50 | # File 'lib/active_record_shards/default_replica_patches.rb', line 48 def on_replica_unless_tx self.class.on_replica_unless_tx { yield } end |