Sha256: f0cddc3d4e58dd85e14b0529b997bd1c02dff499c704ee471a82ad93cd8c2447
Contents?: true
Size: 492 Bytes
Versions: 10
Compression:
Stored size: 492 Bytes
Contents
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
10 entries across 10 versions & 1 rubygems