lib/counter_culture/extensions.rb in counter_culture-2.1.4 vs lib/counter_culture/extensions.rb in counter_culture-2.2.0
- old
+ new
@@ -79,10 +79,10 @@
@after_commit_counter_cache.flat_map do |counter|
next if options[:exclude] && options[:exclude].include?(counter.relation)
next if options[:only] && !options[:only].include?(counter.relation)
- reconciler = CounterCulture::Reconciler.new(counter, options.slice(:skip_unsupported, :batch_size, :touch))
+ reconciler = CounterCulture::Reconciler.new(counter, options.slice(:skip_unsupported, :batch_size, :touch, :where, :verbose))
reconciler.reconcile!
reconciler.changes
end.compact
end
end