lib/seymour/distributable.rb in seymour-0.0.6 vs lib/seymour/distributable.rb in seymour-0.0.7
- old
+ new
@@ -66,11 +66,11 @@
# TODO support exclusive scope
# activity_audience.find_each(options) do
# relation.send(:with_exclusive_scope) &block
# end
- activity_audience.find_each(options) &block
+ activity_audience.find_each(options, &block)
else
activity_audience.each &block
end
end
@@ -92,6 +92,6 @@
end
end
-end
\ No newline at end of file
+end