replica 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/replica.rb +2 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0
|
1
|
+
1.1.0
|
data/lib/replica.rb
CHANGED
@@ -113,8 +113,8 @@ module ActiveRecord # :nodoc:
|
|
113
113
|
@replica = replica
|
114
114
|
end
|
115
115
|
|
116
|
-
def method_missing(method, *args)
|
117
|
-
@target.with_replica_block(@replica) { @target.send(method, *args) }
|
116
|
+
def method_missing(method, *args, &block)
|
117
|
+
@target.with_replica_block(@replica) { @target.send(method, *args, &block) }
|
118
118
|
end
|
119
119
|
end
|
120
120
|
end
|