Sha256: 7a962c1c67ac4b5ed2d20c2ade38991fc3204f85c57fd1c23bbfae2fbf7ca695
Contents?: true
Size: 522 Bytes
Versions: 8
Compression:
Stored size: 522 Bytes
Contents
require 'after_commit_action' require 'active_support/concern' require 'active_support/lazy_load_hooks' require 'counter_culture/version' require 'counter_culture/extensions' require 'counter_culture/counter' require 'counter_culture/reconciler' module CounterCulture mattr_accessor :batch_size self.batch_size = 1000 def self.config yield(self) if block_given? self end end # extend ActiveRecord with our own code here ActiveSupport.on_load(:active_record) do include CounterCulture::Extensions end
Version data entries
8 entries across 8 versions & 1 rubygems