replica 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
|